#CD87C3#CD87C3
#CD87C3 is a light, moderate purple. Relative luminance 0.342; OKLCH L 71.4% C 0.116 H 331.9°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CD87C3 |
|---|---|
| RGB | rgb(205, 135, 195) |
| HSL | hsl(309, 41%, 67%) |
| HSV | hsv(309, 34%, 80%) |
| CMYK | cmyk(0%, 34.1%, 4.9%, 19.6%) |
| CIE-LAB | lab(65.16, 36.05, -20.24) |
| CIE-LCH | lch(65.16, 41.35, 330.69°) |
| OKLab | oklab(71.4% 0.1022 -0.0545) |
| OKLCH | oklch(71.4% 0.116 331.9) |
| XYZ | xyz(43.6906, 34.2491, 55.9285) |
| Luminance | 0.3425 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 4.39
Orchid (survey)
#C875C4
ΔE00 5.21
Plum
#DDA0DD
ΔE00 6.73
Orchid
#DA70D6
ΔE00 7.37
Pale Purple
#B790D4
ΔE00 7.59
Pale Magenta
#D767AD
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD87C3 #87CD91
analogous
#B487CD #CD87C3 #CD87A0
triadic
#CD87C3 #C3CD87 #87C3CD
tetradic
#CD87C3 #CDB487 #87CD91 #87A0CD
square
#CD87C3 #CDB487 #87CD91 #87A0CD
split-complementary
#CD87C3 #A0CD87 #87CDB4
monochromatic
#9A408D #BB5CAD #CD87C3 #DFB2D9 #F1DDEE
Accessibility & contrast
On white
2.68
#CD87C3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#CD87C3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD87C3
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD87C3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD87C3 | 1.00 | 2.68 | 7.85 | 7.85 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8598C5
Deuteranopia (green-blind)
#97A2C1
Tritanopia (blue-blind)
#D38B9D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cd87c3; /* rgb */ color: rgb(205, 135, 195); /* oklch */ color: oklch(71.4% 0.116 331.9);
Tailwind
colors: {
custom: {
50: '#ddabd5',
500: '#cd87c3',
950: '#000000',
},
}SCSS
$custom: #cd87c3; $custom-light: #ddabd5; $custom-dark: #000000;
JSON
{
"hex": "#cd87c3",
"rgb": {
"r": 205,
"g": 135,
"b": 195
},
"hsl": {
"h": 308.571,
"s": 41.176,
"l": 66.667
},
"oklch": {
"l": 0.71397,
"c": 0.11582,
"h": 331.9
},
"luminance": 0.34247
}Semantic roles & 50–950 ramp
primary
#CD87C3
secondary
#CDE3D0
accent
#B44431
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83