#D877E9#D877E9
#D877E9 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.8% C 0.187 H 321.5°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #D877E9 |
|---|---|
| RGB | rgb(216, 119, 233) |
| HSL | hsl(291, 72%, 69%) |
| HSV | hsv(291, 49%, 91%) |
| CMYK | cmyk(7.3%, 48.9%, 0%, 8.6%) |
| CIE-LAB | lab(64.71, 54.74, -42.04) |
| CIE-LCH | lch(64.71, 69.02, 322.47°) |
| OKLab | oklab(71.84% 0.146 -0.1162) |
| OKLCH | oklch(71.84% 0.187 321.5) |
| XYZ | xyz(49.6220, 33.6779, 80.9616) |
| Luminance | 0.3368 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.59
Purply Pink
#F075E6
ΔE00 4.47
Violet (CSS)
#EE82EE
ΔE00 4.69
Lavender Pink
#DD85D7
ΔE00 5.62
Light Magenta
#FA5FF7
ΔE00 5.69
Violet Pink
#FB5FFC
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D877E9 #88E977
analogous
#9F77E9 #D877E9 #E977C1
triadic
#D877E9 #E9D877 #77E9D8
tetradic
#D877E9 #E99F77 #88E977 #77C1E9
square
#D877E9 #E99F77 #88E977 #77C1E9
split-complementary
#D877E9 #C1E977 #77E99F
monochromatic
#AD20C6 #C942E0 #D877E9 #E7ACF2 #F6E0FA
Accessibility & contrast
On white
2.71
#D877E9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#D877E9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D877E9
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D877E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D877E9 | 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)
#6696ED
Deuteranopia (green-blind)
#83A1E6
Tritanopia (blue-blind)
#DA86A5
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #d877e9; /* rgb */ color: rgb(216, 119, 233); /* oklch */ color: oklch(71.8% 0.187 321.5);
Tailwind
colors: {
custom: {
50: '#e6a1f0',
500: '#d877e9',
950: '#000000',
},
}SCSS
$custom: #d877e9; $custom-light: #e6a1f0; $custom-dark: #000000;
JSON
{
"hex": "#d877e9",
"rgb": {
"r": 216,
"g": 119,
"b": 233
},
"hsl": {
"h": 291.053,
"s": 72.152,
"l": 69.02
},
"oklch": {
"l": 0.71844,
"c": 0.18654,
"h": 321.5
},
"luminance": 0.33676
}Semantic roles & 50–950 ramp
primary
#D877E9
secondary
#D2EFCD
accent
#D4112E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84