#CD89F2#CD89F2
#CD89F2 is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.8% C 0.162 H 312.8°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #CD89F2 |
|---|---|
| RGB | rgb(205, 137, 242) |
| HSL | hsl(279, 80%, 74%) |
| HSV | hsv(279, 43%, 95%) |
| CMYK | cmyk(15.3%, 43.4%, 0%, 5.1%) |
| CIE-LAB | lab(67.49, 44.16, -42.73) |
| CIE-LCH | lch(67.49, 61.45, 315.94°) |
| OKLab | oklab(73.78% 0.1097 -0.1185) |
| OKLCH | oklch(73.78% 0.162 312.8) |
| XYZ | xyz(50.1468, 37.2823, 88.5417) |
| Luminance | 0.3728 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.27
Baby Purple
#CA9BF7
ΔE00 4.65
Light Purple
#BF77F6
ΔE00 5.34
Pastel Purple
#CAA0FF
ΔE00 6.09
Lavender (survey)
#C79FEF
ΔE00 6.16
Lilac (survey)
#CEA2FD
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD89F2 #AEF289
analogous
#9989F2 #CD89F2 #F289E3
triadic
#CD89F2 #F2CD89 #89F2CD
tetradic
#CD89F2 #F29989 #AEF289 #89E3F2
square
#CD89F2 #F29989 #AEF289 #89E3F2
split-complementary
#CD89F2 #E3F289 #89F299
monochromatic
#9E1BE6 #B652EC #CD89F2 #E4C0F8 #F3E3FC
Accessibility & contrast
On white
2.48
#CD89F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.46
#CD89F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD89F2
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD89F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD89F2 | 1.00 | 2.48 | 8.46 | 8.46 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#86A6EF
Tritanopia (blue-blind)
#CA98B2
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #cd89f2; /* rgb */ color: rgb(205, 137, 242); /* oklch */ color: oklch(73.8% 0.162 312.8);
Tailwind
colors: {
custom: {
50: '#deadf7',
500: '#cd89f2',
950: '#000000',
},
}SCSS
$custom: #cd89f2; $custom-light: #deadf7; $custom-dark: #000000;
JSON
{
"hex": "#cd89f2",
"rgb": {
"r": 205,
"g": 137,
"b": 242
},
"hsl": {
"h": 278.857,
"s": 80.153,
"l": 74.314
},
"oklch": {
"l": 0.73775,
"c": 0.16152,
"h": 312.8
},
"luminance": 0.37281
}Semantic roles & 50–950 ramp
primary
#CD89F2
secondary
#E1F4D7
accent
#DC0954
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85