#CFAFE8#CFAFE8
#CFAFE8 is a light, moderate violet. Relative luminance 0.498; OKLCH L 80.1% C 0.086 H 309.9°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAFE8 |
|---|---|
| RGB | rgb(207, 175, 232) |
| HSL | hsl(274, 55%, 80%) |
| HSV | hsv(274, 25%, 91%) |
| CMYK | cmyk(10.8%, 24.6%, 0%, 9%) |
| CIE-LAB | lab(75.92, 22.04, -24.22) |
| CIE-LCH | lch(75.92, 32.75, 312.29°) |
| OKLab | oklab(80.09% 0.0552 -0.066) |
| OKLCH | oklch(80.09% 0.086 309.9) |
| XYZ | xyz(55.6250, 49.7520, 83.0010) |
| Luminance | 0.4975 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 3.72
Pale Violet
#CEAEFA
ΔE00 4.36
Mauve
#E0B0FF
ΔE00 4.91
Light Lavender
#DFC5FE
ΔE00 5.38
Lavender (survey)
#C79FEF
ΔE00 5.76
Light Lavendar
#EFC0FE
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAFE8 #C8E8AF
analogous
#B3AFE8 #CFAFE8 #E8AFE5
triadic
#CFAFE8 #E8CFAF #AFE8CF
tetradic
#CFAFE8 #E8B3AF #C8E8AF #AFE5E8
square
#CFAFE8 #E8B3AF #C8E8AF #AFE5E8
split-complementary
#CFAFE8 #E5E8AF #AFE8B3
monochromatic
#9650CD #B27FDA #CFAFE8 #ECDFF6 #F1E7F8
Accessibility & contrast
On white
1.92
#CFAFE8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.95
#CFAFE8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAFE8
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAFE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAFE8 | 1.00 | 1.92 | 10.95 | 10.95 |
| #FFFFFF | 1.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6BAEA
Deuteranopia (green-blind)
#ACBCE6
Tritanopia (blue-blind)
#CCB6C3
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #cfafe8; /* rgb */ color: rgb(207, 175, 232); /* oklch */ color: oklch(80.1% 0.086 309.9);
Tailwind
colors: {
custom: {
50: '#dec7ef',
500: '#cfafe8',
950: '#000000',
},
}SCSS
$custom: #cfafe8; $custom-light: #dec7ef; $custom-dark: #000000;
JSON
{
"hex": "#cfafe8",
"rgb": {
"r": 207,
"g": 175,
"b": 232
},
"hsl": {
"h": 273.684,
"s": 55.34,
"l": 79.804
},
"oklch": {
"l": 0.80093,
"c": 0.08601,
"h": 309.9
},
"luminance": 0.49752
}Semantic roles & 50–950 ramp
primary
#CFAFE8
secondary
#E4EFDC
accent
#C32369
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284