#CF9FF2#CF9FF2
#CF9FF2 is a light, vivid violet. Relative luminance 0.445; OKLCH L 77.6% C 0.126 H 310.2°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CF9FF2 |
|---|---|
| RGB | rgb(207, 159, 242) |
| HSL | hsl(275, 76%, 79%) |
| HSV | hsv(275, 34%, 95%) |
| CMYK | cmyk(14.5%, 34.3%, 0%, 5.1%) |
| CIE-LAB | lab(72.54, 32.86, -34.84) |
| CIE-LCH | lch(72.54, 47.89, 313.32°) |
| OKLab | oklab(77.64% 0.081 -0.0959) |
| OKLCH | oklch(77.64% 0.126 310.2) |
| XYZ | xyz(54.1544, 44.4731, 89.7185) |
| Luminance | 0.4447 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 1.62
Baby Purple
#CA9BF7
ΔE00 2.10
Lilac (survey)
#CEA2FD
ΔE00 2.23
Pastel Purple
#CAA0FF
ΔE00 3.12
Pale Violet
#CEAEFA
ΔE00 4.18
Mauve
#E0B0FF
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF9FF2 #C2F29F
analogous
#A59FF2 #CF9FF2 #F29FEB
triadic
#CF9FF2 #F2CF9F #9FF2CF
tetradic
#CF9FF2 #F2A59F #C2F29F #9FEBF2
square
#CF9FF2 #F2A59F #C2F29F #9FEBF2
split-complementary
#CF9FF2 #EBF29F #9FF2A5
monochromatic
#9933E3 #B469EB #CF9FF2 #EAD5F9 #F2E4FB
Accessibility & contrast
On white
2.12
#CF9FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#CF9FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF9FF2
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF9FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF9FF2 | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90B0F5
Deuteranopia (green-blind)
#9AB3F0
Tritanopia (blue-blind)
#CBABBE
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cf9ff2; /* rgb */ color: rgb(207, 159, 242); /* oklch */ color: oklch(77.6% 0.126 310.2);
Tailwind
colors: {
custom: {
50: '#debcf6',
500: '#cf9ff2',
950: '#000000',
},
}SCSS
$custom: #cf9ff2; $custom-light: #debcf6; $custom-dark: #000000;
JSON
{
"hex": "#cf9ff2",
"rgb": {
"r": 207,
"g": 159,
"b": 242
},
"hsl": {
"h": 274.699,
"s": 76.147,
"l": 78.627
},
"oklch": {
"l": 0.77636,
"c": 0.12553,
"h": 310.2
},
"luminance": 0.44472
}Semantic roles & 50–950 ramp
primary
#CF9FF2
secondary
#E3F3D8
accent
#D80D63
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185