#CFABE4#CFABE4
#CFABE4 is a light, moderate violet. Relative luminance 0.480; OKLCH L 79.2% C 0.088 H 312.8°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #CFABE4 |
|---|---|
| RGB | rgb(207, 171, 228) |
| HSL | hsl(278, 51%, 78%) |
| HSV | hsv(278, 25%, 89%) |
| CMYK | cmyk(9.2%, 25%, 0%, 10.6%) |
| CIE-LAB | lab(74.82, 23.40, -23.72) |
| CIE-LCH | lch(74.82, 33.32, 314.61°) |
| OKLab | oklab(79.2% 0.0599 -0.0645) |
| OKLCH | oklch(79.2% 0.088 312.8) |
| XYZ | xyz(54.2963, 47.9933, 79.7870) |
| Luminance | 0.4799 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 4.49
Pale Violet
#CEAEFA
ΔE00 4.93
Mauve
#E0B0FF
ΔE00 5.09
Plum
#DDA0DD
ΔE00 5.19
Lavender (survey)
#C79FEF
ΔE00 5.50
Lilac
#C8A2C8
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFABE4 #C0E4AB
analogous
#B2ABE4 #CFABE4 #E4ABDC
triadic
#CFABE4 #E4CFAB #ABE4CF
tetradic
#CFABE4 #E4B2AB #C0E4AB #ABDCE4
square
#CFABE4 #E4B2AB #C0E4AB #ABDCE4
split-complementary
#CFABE4 #DCE4AB #ABE4B2
monochromatic
#9A4EC6 #B57DD5 #CFABE4 #E9D9F3 #F2E8F8
Accessibility & contrast
On white
1.98
#CFABE4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.60
#CFABE4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFABE4
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFABE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFABE4 | 1.00 | 1.98 | 10.60 | 10.60 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3B6E6
Deuteranopia (green-blind)
#AAB9E2
Tritanopia (blue-blind)
#CDB2BF
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #cfabe4; /* rgb */ color: rgb(207, 171, 228); /* oklch */ color: oklch(79.2% 0.088 312.8);
Tailwind
colors: {
custom: {
50: '#dec4ec',
500: '#cfabe4',
950: '#000000',
},
}SCSS
$custom: #cfabe4; $custom-light: #dec4ec; $custom-dark: #000000;
JSON
{
"hex": "#cfabe4",
"rgb": {
"r": 207,
"g": 171,
"b": 228
},
"hsl": {
"h": 277.895,
"s": 51.351,
"l": 78.235
},
"oklch": {
"l": 0.79204,
"c": 0.08802,
"h": 312.8
},
"luminance": 0.47993
}Semantic roles & 50–950 ramp
primary
#CFABE4
secondary
#E3EFDC
accent
#BF275F
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184