#CD89F6#CD89F6
#CD89F6 is a light, vivid violet. Relative luminance 0.375; OKLCH L 74.0% C 0.166 H 311.7°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #CD89F6 |
|---|---|
| RGB | rgb(205, 137, 246) |
| HSL | hsl(277, 86%, 75%) |
| HSV | hsv(277, 44%, 96%) |
| CMYK | cmyk(16.7%, 44.3%, 0%, 3.5%) |
| CIE-LAB | lab(67.67, 45.00, -44.64) |
| CIE-LCH | lch(67.67, 63.39, 315.23°) |
| OKLab | oklab(73.97% 0.1104 -0.124) |
| OKLCH | oklch(73.97% 0.166 311.7) |
| XYZ | xyz(50.7541, 37.5252, 91.7403) |
| Luminance | 0.3752 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.77
Baby Purple
#CA9BF7
ΔE00 4.64
Light Purple
#BF77F6
ΔE00 5.07
Pastel Purple
#CAA0FF
ΔE00 5.93
Lilac (survey)
#CEA2FD
ΔE00 6.18
Lavender (survey)
#C79FEF
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD89F6 #B2F689
analogous
#9689F6 #CD89F6 #F689E9
triadic
#CD89F6 #F6CD89 #89F6CD
tetradic
#CD89F6 #F69689 #B2F689 #89E9F6
square
#CD89F6 #F69689 #B2F689 #89E9F6
split-complementary
#CD89F6 #E9F689 #89F696
monochromatic
#9D17ED #B550F2 #CD89F6 #E5C2FA #F3E3FD
Accessibility & contrast
On white
2.47
#CD89F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#CD89F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD89F6
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD89F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD89F6 | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A1FA
Deuteranopia (green-blind)
#84A6F3
Tritanopia (blue-blind)
#C99AB4
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #cd89f6; /* rgb */ color: rgb(205, 137, 246); /* oklch */ color: oklch(74.0% 0.166 311.7);
Tailwind
colors: {
custom: {
50: '#deadf9',
500: '#cd89f6',
950: '#000000',
},
}SCSS
$custom: #cd89f6; $custom-light: #deadf9; $custom-dark: #000000;
JSON
{
"hex": "#cd89f6",
"rgb": {
"r": 205,
"g": 137,
"b": 246
},
"hsl": {
"h": 277.431,
"s": 85.827,
"l": 75.098
},
"oklch": {
"l": 0.73969,
"c": 0.16603,
"h": 311.7
},
"luminance": 0.37524
}Semantic roles & 50–950 ramp
primary
#CD89F6
secondary
#E2F5D6
accent
#E20357
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85