#CF99F2#CF99F2
#CF99F2 is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.6% C 0.136 H 311.3°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #CF99F2 |
|---|---|
| RGB | rgb(207, 153, 242) |
| HSL | hsl(276, 77%, 77%) |
| HSV | hsv(276, 37%, 95%) |
| CMYK | cmyk(14.5%, 36.8%, 0%, 5.1%) |
| CIE-LAB | lab(71.19, 36.12, -36.95) |
| CIE-LCH | lch(71.19, 51.67, 314.35°) |
| OKLab | oklab(76.61% 0.0895 -0.1019) |
| OKLCH | oklch(76.61% 0.136 311.3) |
| XYZ | xyz(53.1476, 42.4595, 89.3829) |
| Luminance | 0.4246 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.78
Lavender (survey)
#C79FEF
ΔE00 2.60
Lilac (survey)
#CEA2FD
ΔE00 2.89
Pastel Purple
#CAA0FF
ΔE00 3.39
Liliac
#C48EFD
ΔE00 4.65
Pale Violet
#CEAEFA
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF99F2 #BCF299
analogous
#A299F2 #CF99F2 #F299E9
triadic
#CF99F2 #F2CF99 #99F2CF
tetradic
#CF99F2 #F2A299 #BCF299 #99E9F2
square
#CF99F2 #F2A299 #BCF299 #99E9F2
split-complementary
#CF99F2 #E9F299 #99F2A2
monochromatic
#9C2CE4 #B563EB #CF99F2 #E9CFF9 #F2E4FC
Accessibility & contrast
On white
2.21
#CF99F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#CF99F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF99F2
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF99F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF99F2 | 1.00 | 2.21 | 9.49 | 9.49 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#95AFEF
Tritanopia (blue-blind)
#CBA5BA
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #cf99f2; /* rgb */ color: rgb(207, 153, 242); /* oklch */ color: oklch(76.6% 0.136 311.3);
Tailwind
colors: {
custom: {
50: '#dfb8f6',
500: '#cf99f2',
950: '#000000',
},
}SCSS
$custom: #cf99f2; $custom-light: #dfb8f6; $custom-dark: #000000;
JSON
{
"hex": "#cf99f2",
"rgb": {
"r": 207,
"g": 153,
"b": 242
},
"hsl": {
"h": 276.404,
"s": 77.391,
"l": 77.451
},
"oklch": {
"l": 0.76607,
"c": 0.13565,
"h": 311.3
},
"luminance": 0.42459
}Semantic roles & 50–950 ramp
primary
#CF99F2
secondary
#E3F3D8
accent
#DA0C5D
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085