#CF8EF6#CF8EF6
#CF8EF6 is a light, vivid violet. Relative luminance 0.393; OKLCH L 75.0% C 0.159 H 311.8°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CF8EF6 |
|---|---|
| RGB | rgb(207, 142, 246) |
| HSL | hsl(278, 85%, 76%) |
| HSV | hsv(278, 42%, 96%) |
| CMYK | cmyk(15.9%, 42.3%, 0%, 3.5%) |
| CIE-LAB | lab(68.94, 42.90, -42.63) |
| CIE-LCH | lch(68.94, 60.48, 315.18°) |
| OKLab | oklab(74.97% 0.1058 -0.1182) |
| OKLCH | oklch(74.97% 0.159 311.8) |
| XYZ | xyz(52.0368, 39.2662, 92.0088) |
| Luminance | 0.3926 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.92
Baby Purple
#CA9BF7
ΔE00 3.58
Pastel Purple
#CAA0FF
ΔE00 4.97
Lilac (survey)
#CEA2FD
ΔE00 5.07
Lavender (survey)
#C79FEF
ΔE00 5.25
Light Purple
#BF77F6
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF8EF6 #B5F68E
analogous
#9B8EF6 #CF8EF6 #F68EE9
triadic
#CF8EF6 #F6CF8E #8EF6CF
tetradic
#CF8EF6 #F69B8E #B5F68E #8EE9F6
square
#CF8EF6 #F69B8E #B5F68E #8EE9F6
split-complementary
#CF8EF6 #E9F68E #8EF69B
monochromatic
#9F1DED #B755F1 #CF8EF6 #E7C7FB #F3E3FD
Accessibility & contrast
On white
2.37
#CF8EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.85
#CF8EF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF8EF6
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF8EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF8EF6 | 1.00 | 2.37 | 8.85 | 8.85 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A5FA
Deuteranopia (green-blind)
#89AAF3
Tritanopia (blue-blind)
#CB9DB6
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #cf8ef6; /* rgb */ color: rgb(207, 142, 246); /* oklch */ color: oklch(75.0% 0.159 311.8);
Tailwind
colors: {
custom: {
50: '#dfb0f9',
500: '#cf8ef6',
950: '#000000',
},
}SCSS
$custom: #cf8ef6; $custom-light: #dfb0f9; $custom-dark: #000000;
JSON
{
"hex": "#cf8ef6",
"rgb": {
"r": 207,
"g": 142,
"b": 246
},
"hsl": {
"h": 277.5,
"s": 85.246,
"l": 76.078
},
"oklch": {
"l": 0.74972,
"c": 0.15863,
"h": 311.8
},
"luminance": 0.39265
}Semantic roles & 50–950 ramp
primary
#CF8EF6
secondary
#E2F5D6
accent
#E20457
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085