Nearest named color · #C4A7D9
#C4A7D9
Nearest named color: Enchanted Lavender
#C4A7D9 (rgb(196 167 217), hsl(275 40% 75%), oklch(0.77 0.077 310.8)) is closest to the named color Enchanted Lavender. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#C4A7D9
oklch(0.77 0.077 310.8)
Color conversions
- HEX
- #c4a7d9
- RGB
- rgb(196 167 217)
- HSL
- hsl(275 40% 75%)
- HWB
- hwb(275 65% 15%)
- OKLCH
- oklch(0.77 0.077 310.8)
- OKLab
- oklab(0.77 0.05 -0.058)
- CIE Lab
- lab(72.36 17.83 -21.38)
- LCH
- lch(72.36 27.84 309.8)
- CMYK
- cmyk(10% 23% 0% 15%)
Tints · Shades · Tones
Tints
- CAB0DD
- D0B8E1
- D6C1E5
- DBCAE9
- E1D3EC
- E7DBF0
- EDE4F4
- F3EDF8
- F9F6FB
Shades
- AA91BC
- 917BA1
- 786686
- 61526C
- 4A3E53
- 352C3B
- 211A25
- 0E0A11
- 020102
Tones
- BDA3D0
- B69FC7
- AF9BBE
- A897B5
- A194AC
- 9B90A3
- 948C9A
- 8D8891
- 878489
Color harmonies
Complementary +180°
- C4A7D9
Enchanted Lavender
- A4BF8B
≈ Green Herb
Analogous -30° +30°
- C4A7D9
Enchanted Lavender
- ABAFE5
≈ Maximum Blue Purple
- D7A2C3
≈ Pastel Lavender
Triadic +120° +240°
- C4A7D9
Enchanted Lavender
- D4AD7E
≈ Whole Grain
- 77C4C0
≈ Booty Bay
Split-complementary +150° +210°
- C4A7D9
Enchanted Lavender
- BFB67D
≈ Cool Avocado
- 88C4A4
≈ Lark Green
Tetradic +90° +180° +270°
- C4A7D9
Enchanted Lavender
- E0A48F
≈ Venetian Plaster
- A4BF8B
≈ Green Herb
- 7BC0D7
≈ Ocean Horizon
Contrast & accessibility
Ag
FailOn white
WCAG 2.12:1 · APCA Lc 42
Ag
AAAOn black
WCAG 9.87:1 · APCA Lc 61
Best text color: #000000
WCAG 9.87:1 (AAA) · APCA Lc 61
Contrast pairs
Code snippets
CSS
:root {
--enchanted-lavender: #c4a7d9;
--enchanted-lavender-rgb: 196 167 217;
--enchanted-lavender-oklch: oklch(0.77 0.077 310.8);
}
.element {
color: var(--enchanted-lavender);
background-color: hsl(275 40% 75%);
border-color: oklch(0.77 0.077 310.8);
}Tailwind CSS v4
@theme {
--color-enchanted-lavender: #c4a7d9;
--color-enchanted-lavender-50: #fdefff;
--color-enchanted-lavender-100: #f1e1fb;
--color-enchanted-lavender-200: #e0cbec;
--color-enchanted-lavender-300: #c5acd4;
--color-enchanted-lavender-400: #ad92c0;
--color-enchanted-lavender-500: #9678ac;
--color-enchanted-lavender-600: #7f6591;
--color-enchanted-lavender-700: #665174;
--color-enchanted-lavender-800: #4a3b57;
--color-enchanted-lavender-900: #33293d;
--color-enchanted-lavender-950: #1f1626;
}SCSS
$enchanted-lavender: #c4a7d9;
$enchanted-lavender-rgb: 196, 167, 217;
$enchanted-lavender-light: mix(#fff, $enchanted-lavender, 20%);
$enchanted-lavender-dark: mix(#000, $enchanted-lavender, 20%);
.element {
color: $enchanted-lavender;
box-shadow: 0 0 0 2px rgba($enchanted-lavender, 0.35);
}