#CD87D3#CD87D3
#CD87D3 is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.0% C 0.131 H 324.0°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #CD87D3 |
|---|---|
| RGB | rgb(205, 135, 211) |
| HSL | hsl(295, 46%, 68%) |
| HSV | hsv(295, 36%, 83%) |
| CMYK | cmyk(2.8%, 36%, 0%, 17.3%) |
| CIE-LAB | lab(65.76, 39.01, -28.28) |
| CIE-LCH | lch(65.76, 48.18, 324.06°) |
| OKLab | oklab(72.05% 0.1064 -0.0771) |
| OKLCH | oklch(72.05% 0.131 324) |
| XYZ | xyz(45.5975, 35.0119, 65.9715) |
| Luminance | 0.3501 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.94
Orchid (survey)
#C875C4
ΔE00 4.74
Orchid
#DA70D6
ΔE00 5.69
Pale Purple
#B790D4
ΔE00 5.72
Violet (CSS)
#EE82EE
ΔE00 6.30
Plum
#DDA0DD
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD87D3 #8DD387
analogous
#A787D3 #CD87D3 #D387B3
triadic
#CD87D3 #D3CD87 #87D3CD
tetradic
#CD87D3 #D3A787 #8DD387 #87B3D3
square
#CD87D3 #D3A787 #8DD387 #87B3D3
split-complementary
#CD87D3 #B3D387 #87D3A7
monochromatic
#9B3CA4 #BA5AC3 #CD87D3 #E0B4E3 #F2E1F4
Accessibility & contrast
On white
2.62
#CD87D3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#CD87D3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD87D3
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD87D3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD87D3 | 1.00 | 2.62 | 8.00 | 8.00 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#809AD6
Deuteranopia (green-blind)
#91A3D1
Tritanopia (blue-blind)
#D08FA3
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cd87d3; /* rgb */ color: rgb(205, 135, 211); /* oklch */ color: oklch(72.0% 0.131 324.0);
Tailwind
colors: {
custom: {
50: '#ddabe0',
500: '#cd87d3',
950: '#000000',
},
}SCSS
$custom: #cd87d3; $custom-light: #ddabe0; $custom-dark: #000000;
JSON
{
"hex": "#cd87d3",
"rgb": {
"r": 205,
"g": 135,
"b": 211
},
"hsl": {
"h": 295.263,
"s": 46.341,
"l": 67.843
},
"oklch": {
"l": 0.72047,
"c": 0.13137,
"h": 324
},
"luminance": 0.3501
}Semantic roles & 50–950 ramp
primary
#CD87D3
secondary
#D1E7CF
accent
#BA2C37
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83