#CF9FE3#CF9FE3
#CF9FE3 is a light, moderate purple. Relative luminance 0.436; OKLCH L 77.0% C 0.108 H 315.7°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CF9FE3 |
|---|---|
| RGB | rgb(207, 159, 227) |
| HSL | hsl(282, 55%, 76%) |
| HSV | hsv(282, 30%, 89%) |
| CMYK | cmyk(8.8%, 30%, 0%, 11%) |
| CIE-LAB | lab(71.97, 29.76, -27.55) |
| CIE-LCH | lch(71.97, 40.55, 317.21°) |
| OKLab | oklab(77.01% 0.0772 -0.0752) |
| OKLCH | oklch(77.01% 0.108 315.7) |
| XYZ | xyz(51.9933, 43.6087, 78.3365) |
| Luminance | 0.4361 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 3.77
Plum
#DDA0DD
ΔE00 3.92
Baby Purple
#CA9BF7
ΔE00 5.13
Mauve
#E0B0FF
ΔE00 5.29
Lilac (survey)
#CEA2FD
ΔE00 5.35
Pale Purple
#B790D4
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF9FE3 #B3E39F
analogous
#AD9FE3 #CF9FE3 #E39FD5
triadic
#CF9FE3 #E3CF9F #9FE3CF
tetradic
#CF9FE3 #E3AD9F #B3E39F #9FD5E3
square
#CF9FE3 #E3AD9F #B3E39F #9FD5E3
split-complementary
#CF9FE3 #D5E39F #9FE3AD
monochromatic
#A040C7 #B770D5 #CF9FE3 #E7CEF1 #F3E7F8
Accessibility & contrast
On white
2.16
#CF9FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#CF9FE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF9FE3
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF9FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF9FE3 | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95ADE6
Deuteranopia (green-blind)
#A0B2E1
Tritanopia (blue-blind)
#CEA7B7
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #cf9fe3; /* rgb */ color: rgb(207, 159, 227); /* oklch */ color: oklch(77.0% 0.108 315.7);
Tailwind
colors: {
custom: {
50: '#debcec',
500: '#cf9fe3',
950: '#000000',
},
}SCSS
$custom: #cf9fe3; $custom-light: #debcec; $custom-dark: #000000;
JSON
{
"hex": "#cf9fe3",
"rgb": {
"r": 207,
"g": 159,
"b": 227
},
"hsl": {
"h": 282.353,
"s": 54.839,
"l": 75.686
},
"oklch": {
"l": 0.77006,
"c": 0.10777,
"h": 315.7
},
"luminance": 0.43608
}Semantic roles & 50–950 ramp
primary
#CF9FE3
secondary
#E1EFDC
accent
#C22352
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184