#CF9EF3#CF9EF3
#CF9EF3 is a light, vivid violet. Relative luminance 0.442; OKLCH L 77.5% C 0.128 H 310.0°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #CF9EF3 |
|---|---|
| RGB | rgb(207, 158, 243) |
| HSL | hsl(275, 78%, 79%) |
| HSV | hsv(275, 35%, 95%) |
| CMYK | cmyk(14.8%, 35%, 0%, 4.7%) |
| CIE-LAB | lab(72.36, 33.61, -35.67) |
| CIE-LCH | lch(72.36, 49.02, 313.30°) |
| OKLab | oklab(77.51% 0.0826 -0.0983) |
| OKLCH | oklch(77.51% 0.128 310) |
| XYZ | xyz(54.1337, 44.1909, 90.4545) |
| Luminance | 0.4419 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 1.72
Baby Purple
#CA9BF7
ΔE00 1.79
Lilac (survey)
#CEA2FD
ΔE00 2.10
Pastel Purple
#CAA0FF
ΔE00 2.93
Pale Violet
#CEAEFA
ΔE00 4.41
Mauve
#E0B0FF
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF9EF3 #C2F39E
analogous
#A49EF3 #CF9EF3 #F39EED
triadic
#CF9EF3 #F3CF9E #9EF3CF
tetradic
#CF9EF3 #F3A49E #C2F39E #9EEDF3
square
#CF9EF3 #F3A49E #C2F39E #9EEDF3
split-complementary
#CF9EF3 #EDF39E #9EF3A4
monochromatic
#9931E6 #B468EC #CF9EF3 #EAD4FA #F2E4FC
Accessibility & contrast
On white
2.13
#CF9EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.84
#CF9EF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF9EF3
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF9EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF9EF3 | 1.00 | 2.13 | 9.84 | 9.84 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EAFF6
Deuteranopia (green-blind)
#99B2F1
Tritanopia (blue-blind)
#CBAABD
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cf9ef3; /* rgb */ color: rgb(207, 158, 243); /* oklch */ color: oklch(77.5% 0.128 310.0);
Tailwind
colors: {
custom: {
50: '#dfbbf7',
500: '#cf9ef3',
950: '#000000',
},
}SCSS
$custom: #cf9ef3; $custom-light: #dfbbf7; $custom-dark: #000000;
JSON
{
"hex": "#cf9ef3",
"rgb": {
"r": 207,
"g": 158,
"b": 243
},
"hsl": {
"h": 274.588,
"s": 77.982,
"l": 78.627
},
"oklch": {
"l": 0.77507,
"c": 0.12842,
"h": 310
},
"luminance": 0.4419
}Semantic roles & 50–950 ramp
primary
#CF9EF3
secondary
#E3F3D8
accent
#DA0B63
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185