#CF89E2#CF89E2
#CF89E2 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.2% C 0.145 H 318.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #CF89E2 |
|---|---|
| RGB | rgb(207, 137, 226) |
| HSL | hsl(287, 61%, 71%) |
| HSV | hsv(287, 39%, 89%) |
| CMYK | cmyk(8.4%, 39.4%, 0%, 11.4%) |
| CIE-LAB | lab(67.01, 41.47, -34.64) |
| CIE-LCH | lch(67.01, 54.04, 320.13°) |
| OKLab | oklab(73.24% 0.1091 -0.0952) |
| OKLCH | oklch(73.24% 0.145 318.9) |
| XYZ | xyz(48.4034, 36.6492, 76.4610) |
| Luminance | 0.3665 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 4.17
Violet (CSS)
#EE82EE
ΔE00 5.39
Pale Purple
#B790D4
ΔE00 5.63
Baby Purple
#CA9BF7
ΔE00 5.91
Orchid
#DA70D6
ΔE00 6.13
Liliac
#C48EFD
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF89E2 #9CE289
analogous
#A289E2 #CF89E2 #E289C8
triadic
#CF89E2 #E2CF89 #89E2CF
tetradic
#CF89E2 #E2A289 #9CE289 #89C8E2
square
#CF89E2 #E2A289 #9CE289 #89C8E2
split-complementary
#CF89E2 #C8E289 #89E2A2
monochromatic
#A22FC1 #BB58D6 #CF89E2 #E3BAEE #F5E6F9
Accessibility & contrast
On white
2.52
#CF89E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#CF89E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF89E2
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF89E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF89E2 | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C9EE5
Deuteranopia (green-blind)
#8EA6DF
Tritanopia (blue-blind)
#D094AB
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #cf89e2; /* rgb */ color: rgb(207, 137, 226); /* oklch */ color: oklch(73.2% 0.145 318.9);
Tailwind
colors: {
custom: {
50: '#dfadeb',
500: '#cf89e2',
950: '#000000',
},
}SCSS
$custom: #cf89e2; $custom-light: #dfadeb; $custom-dark: #000000;
JSON
{
"hex": "#cf89e2",
"rgb": {
"r": 207,
"g": 137,
"b": 226
},
"hsl": {
"h": 287.191,
"s": 60.544,
"l": 71.176
},
"oklch": {
"l": 0.7324,
"c": 0.1448,
"h": 318.9
},
"luminance": 0.36648
}Semantic roles & 50–950 ramp
primary
#CF89E2
secondary
#DDEFD8
accent
#C81D42
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84