#CF99EF#CF99EF
#CF99EF is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.5% C 0.132 H 312.3°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #CF99EF |
|---|---|
| RGB | rgb(207, 153, 239) |
| HSL | hsl(278, 73%, 77%) |
| HSV | hsv(278, 36%, 94%) |
| CMYK | cmyk(13.4%, 36%, 0%, 6.3%) |
| CIE-LAB | lab(71.06, 35.49, -35.50) |
| CIE-LCH | lch(71.06, 50.20, 314.99°) |
| OKLab | oklab(76.47% 0.0889 -0.0978) |
| OKLCH | oklch(76.47% 0.132 312.3) |
| XYZ | xyz(52.7007, 42.2807, 87.0294) |
| Luminance | 0.4228 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.25
Lavender (survey)
#C79FEF
ΔE00 2.61
Lilac (survey)
#CEA2FD
ΔE00 3.27
Pastel Purple
#CAA0FF
ΔE00 3.85
Liliac
#C48EFD
ΔE00 5.12
Pale Purple
#B790D4
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF99EF #B9EF99
analogous
#A499EF #CF99EF #EF99E4
triadic
#CF99EF #EFCF99 #99EFCF
tetradic
#CF99EF #EFA499 #B9EF99 #99E4EF
square
#CF99EF #EFA499 #B9EF99 #99E4EF
split-complementary
#CF99EF #E4EF99 #99EFA4
monochromatic
#9D2FDE #B664E7 #CF99EF #E8CEF7 #F3E5FB
Accessibility & contrast
On white
2.22
#CF99EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.46
#CF99EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF99EF
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF99EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF99EF | 1.00 | 2.22 | 9.46 | 9.46 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8AABF2
Deuteranopia (green-blind)
#96AFEC
Tritanopia (blue-blind)
#CCA5B9
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #cf99ef; /* rgb */ color: rgb(207, 153, 239); /* oklch */ color: oklch(76.5% 0.132 312.3);
Tailwind
colors: {
custom: {
50: '#dfb7f4',
500: '#cf99ef',
950: '#000000',
},
}SCSS
$custom: #cf99ef; $custom-light: #dfb7f4; $custom-dark: #000000;
JSON
{
"hex": "#cf99ef",
"rgb": {
"r": 207,
"g": 153,
"b": 239
},
"hsl": {
"h": 277.674,
"s": 72.881,
"l": 76.863
},
"oklch": {
"l": 0.76474,
"c": 0.13213,
"h": 312.3
},
"luminance": 0.4228
}Semantic roles & 50–950 ramp
primary
#CF99EF
secondary
#E2F3D8
accent
#D5115A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085