#D87CD3#D87CD3
#D87CD3 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.6% C 0.158 H 329.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #D87CD3 |
|---|---|
| RGB | rgb(216, 124, 211) |
| HSL | hsl(303, 54%, 67%) |
| HSV | hsv(303, 43%, 85%) |
| CMYK | cmyk(0%, 42.6%, 2.3%, 15.3%) |
| CIE-LAB | lab(64.74, 48.17, -29.74) |
| CIE-LCH | lch(64.74, 56.61, 328.31°) |
| OKLab | oklab(71.56% 0.1351 -0.081) |
| OKLCH | oklch(71.56% 0.158 329) |
| XYZ | xyz(47.2837, 33.7198, 65.6334) |
| Luminance | 0.3372 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.27
Orchid
#DA70D6
ΔE00 2.79
Orchid (survey)
#C875C4
ΔE00 3.61
Purply Pink
#F075E6
ΔE00 4.41
Violet (CSS)
#EE82EE
ΔE00 4.93
Candy Pink
#FF63E9
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D87CD3 #7CD881
analogous
#AF7CD8 #D87CD3 #D87CA5
triadic
#D87CD3 #D3D87C #7CD3D8
tetradic
#D87CD3 #D8AF7C #7CD881 #7CA5D8
square
#D87CD3 #D8AF7C #7CD881 #7CA5D8
split-complementary
#D87CD3 #A5D87C #7CD8AF
monochromatic
#A832A1 #CA4DC3 #D87CD3 #E6ABE3 #F4DAF3
Accessibility & contrast
On white
2.71
#D87CD3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#D87CD3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D87CD3
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D87CD3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D87CD3 | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7795D6
Deuteranopia (green-blind)
#90A1D0
Tritanopia (blue-blind)
#DE849E
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #d87cd3; /* rgb */ color: rgb(216, 124, 211); /* oklch */ color: oklch(71.6% 0.158 329.0);
Tailwind
colors: {
custom: {
50: '#e6a4e0',
500: '#d87cd3',
950: '#000000',
},
}SCSS
$custom: #d87cd3; $custom-light: #e6a4e0; $custom-dark: #000000;
JSON
{
"hex": "#d87cd3",
"rgb": {
"r": 216,
"g": 124,
"b": 211
},
"hsl": {
"h": 303.261,
"s": 54.118,
"l": 66.667
},
"oklch": {
"l": 0.7156,
"c": 0.15751,
"h": 329
},
"luminance": 0.33717
}Semantic roles & 50–950 ramp
primary
#D87CD3
secondary
#C9E7CB
accent
#C22C24
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83