#CD87C2#CD87C2
#CD87C2 is a light, moderate purple. Relative luminance 0.342; OKLCH L 71.4% C 0.115 H 332.5°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #CD87C2 |
|---|---|
| RGB | rgb(205, 135, 194) |
| HSL | hsl(309, 41%, 67%) |
| HSV | hsv(309, 34%, 80%) |
| CMYK | cmyk(0%, 34.1%, 5.4%, 19.6%) |
| CIE-LAB | lab(65.12, 35.88, -19.73) |
| CIE-LCH | lch(65.12, 40.94, 331.19°) |
| OKLab | oklab(71.36% 0.1019 -0.0531) |
| OKLCH | oklch(71.36% 0.115 332.5) |
| XYZ | xyz(43.5779, 34.2041, 55.3351) |
| Luminance | 0.3420 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 4.57
Orchid (survey)
#C875C4
ΔE00 5.34
Plum
#DDA0DD
ΔE00 6.80
Orchid
#DA70D6
ΔE00 7.54
Pale Purple
#B790D4
ΔE00 7.76
Dusty Lavender
#AC86A8
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD87C2 #87CD92
analogous
#B587CD #CD87C2 #CD879F
triadic
#CD87C2 #C2CD87 #87C2CD
tetradic
#CD87C2 #CDB587 #87CD92 #879FCD
square
#CD87C2 #CDB587 #87CD92 #879FCD
split-complementary
#CD87C2 #9FCD87 #87CDB5
monochromatic
#9A408C #BB5CAC #CD87C2 #DFB2D8 #F1DDEE
Accessibility & contrast
On white
2.68
#CD87C2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#CD87C2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD87C2
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD87C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD87C2 | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8698C4
Deuteranopia (green-blind)
#97A2C0
Tritanopia (blue-blind)
#D38B9C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cd87c2; /* rgb */ color: rgb(205, 135, 194); /* oklch */ color: oklch(71.4% 0.115 332.5);
Tailwind
colors: {
custom: {
50: '#ddabd4',
500: '#cd87c2',
950: '#000000',
},
}SCSS
$custom: #cd87c2; $custom-light: #ddabd4; $custom-dark: #000000;
JSON
{
"hex": "#cd87c2",
"rgb": {
"r": 205,
"g": 135,
"b": 194
},
"hsl": {
"h": 309.429,
"s": 41.176,
"l": 66.667
},
"oklch": {
"l": 0.71358,
"c": 0.11491,
"h": 332.5
},
"luminance": 0.34202
}Semantic roles & 50–950 ramp
primary
#CD87C2
secondary
#CDE3D0
accent
#B44631
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83