#CF9CF2#CF9CF2
#CF9CF2 is a light, vivid violet. Relative luminance 0.435; OKLCH L 77.1% C 0.131 H 310.8°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CF9CF2 |
|---|---|
| RGB | rgb(207, 156, 242) |
| HSL | hsl(276, 77%, 78%) |
| HSV | hsv(276, 36%, 95%) |
| CMYK | cmyk(14.5%, 35.5%, 0%, 5.1%) |
| CIE-LAB | lab(71.86, 34.49, -35.90) |
| CIE-LCH | lch(71.86, 49.78, 313.86°) |
| OKLab | oklab(77.12% 0.0853 -0.0989) |
| OKLCH | oklch(77.12% 0.131 310.8) |
| XYZ | xyz(53.6448, 43.4539, 89.5486) |
| Luminance | 0.4345 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.77
Lavender (survey)
#C79FEF
ΔE00 2.02
Lilac (survey)
#CEA2FD
ΔE00 2.46
Pastel Purple
#CAA0FF
ΔE00 3.16
Pale Violet
#CEAEFA
ΔE00 4.93
Mauve
#E0B0FF
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF9CF2 #BFF29C
analogous
#A49CF2 #CF9CF2 #F29CEA
triadic
#CF9CF2 #F2CF9C #9CF2CF
tetradic
#CF9CF2 #F2A49C #BFF29C #9CEAF2
square
#CF9CF2 #F2A49C #BFF29C #9CEAF2
split-complementary
#CF9CF2 #EAF29C #9CF2A4
monochromatic
#9B30E4 #B566EB #CF9CF2 #E9D2F9 #F2E4FB
Accessibility & contrast
On white
2.17
#CF9CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.69
#CF9CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF9CF2
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF9CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF9CF2 | 1.00 | 2.17 | 9.69 | 9.69 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8CAEF5
Deuteranopia (green-blind)
#98B1EF
Tritanopia (blue-blind)
#CBA8BC
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #cf9cf2; /* rgb */ color: rgb(207, 156, 242); /* oklch */ color: oklch(77.1% 0.131 310.8);
Tailwind
colors: {
custom: {
50: '#dfbaf6',
500: '#cf9cf2',
950: '#000000',
},
}SCSS
$custom: #cf9cf2; $custom-light: #dfbaf6; $custom-dark: #000000;
JSON
{
"hex": "#cf9cf2",
"rgb": {
"r": 207,
"g": 156,
"b": 242
},
"hsl": {
"h": 275.581,
"s": 76.786,
"l": 78.039
},
"oklch": {
"l": 0.77119,
"c": 0.13059,
"h": 310.8
},
"luminance": 0.43453
}Semantic roles & 50–950 ramp
primary
#CF9CF2
secondary
#E3F3D8
accent
#D90C60
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085