#C4A7E9#C4A7E9
#C4A7E9 is a light, moderate violet. Relative luminance 0.453; OKLCH L 77.7% C 0.097 H 304.3°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A7E9 |
|---|---|
| RGB | rgb(196, 167, 233) |
| HSL | hsl(266, 60%, 78%) |
| HSV | hsv(266, 28%, 91%) |
| CMYK | cmyk(15.9%, 28.3%, 0%, 8.6%) |
| CIE-LAB | lab(73.06, 23.18, -29.23) |
| CIE-LCH | lch(73.06, 37.30, 308.42°) |
| OKLab | oklab(77.68% 0.0548 -0.0802) |
| OKLCH | oklch(77.68% 0.097 304.3) |
| XYZ | xyz(51.2887, 45.2565, 83.1084) |
| Luminance | 0.4526 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 3.00
Lavender (survey)
#C79FEF
ΔE00 3.17
Lavender
#B39DDB
ΔE00 3.71
Light Violet
#D6B4FC
ΔE00 4.06
Lilac (survey)
#CEA2FD
ΔE00 4.69
Baby Purple
#CA9BF7
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A7E9 #CCE9A7
analogous
#A7ABE9 #C4A7E9 #E5A7E9
triadic
#C4A7E9 #E9C4A7 #A7E9C4
tetradic
#C4A7E9 #E9A7AB #CCE9A7 #A7E9E5
square
#C4A7E9 #E9A7AB #CCE9A7 #A7E9E5
split-complementary
#C4A7E9 #E9E5A7 #ABE9A7
monochromatic
#8245D1 #A376DD #C4A7E9 #E5D8F5 #EFE7F9
Accessibility & contrast
On white
2.09
#C4A7E9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.05
#C4A7E9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A7E9
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A7E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A7E9 | 1.00 | 2.09 | 10.05 | 10.05 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9AB2EC
Deuteranopia (green-blind)
#A0B3E7
Tritanopia (blue-blind)
#BEB0BE
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c4a7e9; /* rgb */ color: rgb(196, 167, 233); /* oklch */ color: oklch(77.7% 0.097 304.3);
Tailwind
colors: {
custom: {
50: '#d6c1f0',
500: '#c4a7e9',
950: '#000000',
},
}SCSS
$custom: #c4a7e9; $custom-light: #d6c1f0; $custom-dark: #000000;
JSON
{
"hex": "#c4a7e9",
"rgb": {
"r": 196,
"g": 167,
"b": 233
},
"hsl": {
"h": 266.364,
"s": 60,
"l": 78.431
},
"oklch": {
"l": 0.77679,
"c": 0.09709,
"h": 304.3
},
"luminance": 0.45256
}Semantic roles & 50–950 ramp
primary
#C4A7E9
secondary
#E7F0DB
accent
#C81E7D
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#141216
muted
#838184