#CF9FF3#CF9FF3
#CF9FF3 is a light, vivid violet. Relative luminance 0.445; OKLCH L 77.7% C 0.127 H 309.8°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CF9FF3 |
|---|---|
| RGB | rgb(207, 159, 243) |
| HSL | hsl(274, 78%, 79%) |
| HSV | hsv(274, 35%, 95%) |
| CMYK | cmyk(14.8%, 34.6%, 0%, 4.7%) |
| CIE-LAB | lab(72.58, 33.07, -35.32) |
| CIE-LCH | lch(72.58, 48.39, 313.11°) |
| OKLab | oklab(77.68% 0.0812 -0.0973) |
| OKLCH | oklch(77.68% 0.127 309.8) |
| XYZ | xyz(54.3050, 44.5334, 90.5116) |
| Luminance | 0.4453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 1.61
Baby Purple
#CA9BF7
ΔE00 1.94
Lilac (survey)
#CEA2FD
ΔE00 2.05
Pastel Purple
#CAA0FF
ΔE00 2.93
Pale Violet
#CEAEFA
ΔE00 4.15
Mauve
#E0B0FF
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF9FF3 #C3F39F
analogous
#A59FF3 #CF9FF3 #F39FED
triadic
#CF9FF3 #F3CF9F #9FF3CF
tetradic
#CF9FF3 #F3A59F #C3F39F #9FEDF3
square
#CF9FF3 #F3A59F #C3F39F #9FEDF3
split-complementary
#CF9FF3 #EDF39F #9FF3A5
monochromatic
#9932E5 #B469EC #CF9FF3 #EAD5FA #F1E4FC
Accessibility & contrast
On white
2.12
#CF9FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#CF9FF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF9FF3
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF9FF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF9FF3 | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FB0F6
Deuteranopia (green-blind)
#9AB3F1
Tritanopia (blue-blind)
#CBABBE
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cf9ff3; /* rgb */ color: rgb(207, 159, 243); /* oklch */ color: oklch(77.7% 0.127 309.8);
Tailwind
colors: {
custom: {
50: '#debcf7',
500: '#cf9ff3',
950: '#000000',
},
}SCSS
$custom: #cf9ff3; $custom-light: #debcf7; $custom-dark: #000000;
JSON
{
"hex": "#cf9ff3",
"rgb": {
"r": 207,
"g": 159,
"b": 243
},
"hsl": {
"h": 274.286,
"s": 77.778,
"l": 78.824
},
"oklch": {
"l": 0.7768,
"c": 0.12674,
"h": 309.8
},
"luminance": 0.44533
}Semantic roles & 50–950 ramp
primary
#CF9FF3
secondary
#E4F3D8
accent
#DA0B64
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185