#CF89E1#CF89E1
#CF89E1 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.2% C 0.144 H 319.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #CF89E1 |
|---|---|
| RGB | rgb(207, 137, 225) |
| HSL | hsl(288, 59%, 71%) |
| HSV | hsv(288, 39%, 88%) |
| CMYK | cmyk(8%, 39.1%, 0%, 11.8%) |
| CIE-LAB | lab(66.97, 41.27, -34.15) |
| CIE-LCH | lch(66.97, 53.57, 320.39°) |
| OKLab | oklab(73.19% 0.1089 -0.0938) |
| OKLCH | oklch(73.19% 0.144 319.2) |
| XYZ | xyz(48.2666, 36.5944, 75.7405) |
| Luminance | 0.3659 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 4.02
Violet (CSS)
#EE82EE
ΔE00 5.39
Pale Purple
#B790D4
ΔE00 5.60
Baby Purple
#CA9BF7
ΔE00 6.03
Orchid
#DA70D6
ΔE00 6.08
Liliac
#C48EFD
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF89E1 #9BE189
analogous
#A389E1 #CF89E1 #E189C7
triadic
#CF89E1 #E1CF89 #89E1CF
tetradic
#CF89E1 #E1A389 #9BE189 #89C7E1
square
#CF89E1 #E1A389 #9BE189 #89C7E1
split-complementary
#CF89E1 #C7E189 #89E1A3
monochromatic
#A231BF #BB58D5 #CF89E1 #E3BAED #F5E7F9
Accessibility & contrast
On white
2.52
#CF89E1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#CF89E1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF89E1
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF89E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF89E1 | 1.00 | 2.52 | 8.32 | 8.32 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D9EE4
Deuteranopia (green-blind)
#8FA5DE
Tritanopia (blue-blind)
#D094AB
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #cf89e1; /* rgb */ color: rgb(207, 137, 225); /* oklch */ color: oklch(73.2% 0.144 319.2);
Tailwind
colors: {
custom: {
50: '#dfadea',
500: '#cf89e1',
950: '#000000',
},
}SCSS
$custom: #cf89e1; $custom-light: #dfadea; $custom-dark: #000000;
JSON
{
"hex": "#cf89e1",
"rgb": {
"r": 207,
"g": 137,
"b": 225
},
"hsl": {
"h": 287.727,
"s": 59.459,
"l": 70.98
},
"oklch": {
"l": 0.73195,
"c": 0.14372,
"h": 319.2
},
"luminance": 0.36593
}Semantic roles & 50–950 ramp
primary
#CF89E1
secondary
#DCEFD7
accent
#C71E41
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84