#CF99EC#CF99EC
#CF99EC is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.3% C 0.129 H 313.3°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #CF99EC |
|---|---|
| RGB | rgb(207, 153, 236) |
| HSL | hsl(279, 69%, 76%) |
| HSV | hsv(279, 35%, 93%) |
| CMYK | cmyk(12.3%, 35.2%, 0%, 7.5%) |
| CIE-LAB | lab(70.94, 34.87, -34.05) |
| CIE-LCH | lch(70.94, 48.73, 315.68°) |
| OKLab | oklab(76.34% 0.0882 -0.0936) |
| OKLCH | oklch(76.34% 0.129 313.3) |
| XYZ | xyz(52.2612, 42.1049, 84.7146) |
| Luminance | 0.4210 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 2.76
Baby Purple
#CA9BF7
ΔE00 2.79
Lilac (survey)
#CEA2FD
ΔE00 3.71
Pastel Purple
#CAA0FF
ΔE00 4.36
Pale Purple
#B790D4
ΔE00 5.23
Liliac
#C48EFD
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF99EC #B6EC99
analogous
#A699EC #CF99EC #EC99E0
triadic
#CF99EC #ECCF99 #99ECCF
tetradic
#CF99EC #ECA699 #B6EC99 #99E0EC
square
#CF99EC #ECA699 #B6EC99 #99E0EC
split-complementary
#CF99EC #E0EC99 #99ECA6
monochromatic
#9E32D9 #B765E2 #CF99EC #E7CDF6 #F3E5FA
Accessibility & contrast
On white
2.23
#CF99EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#CF99EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF99EC
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF99EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF99EC | 1.00 | 2.23 | 9.42 | 9.42 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8BABEF
Deuteranopia (green-blind)
#98AFEA
Tritanopia (blue-blind)
#CDA4B8
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #cf99ec; /* rgb */ color: rgb(207, 153, 236); /* oklch */ color: oklch(76.3% 0.129 313.3);
Tailwind
colors: {
custom: {
50: '#deb7f2',
500: '#cf99ec',
950: '#000000',
},
}SCSS
$custom: #cf99ec; $custom-light: #deb7f2; $custom-dark: #000000;
JSON
{
"hex": "#cf99ec",
"rgb": {
"r": 207,
"g": 153,
"b": 236
},
"hsl": {
"h": 279.036,
"s": 68.595,
"l": 76.275
},
"oklch": {
"l": 0.76342,
"c": 0.12861,
"h": 313.3
},
"luminance": 0.42104
}Semantic roles & 50–950 ramp
primary
#CF99EC
secondary
#E2F2D9
accent
#D11557
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085