#D877F9#D877F9
#D877F9 is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 72.6% C 0.202 H 316.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #D877F9 |
|---|---|
| RGB | rgb(216, 119, 249) |
| HSL | hsl(285, 92%, 72%) |
| HSV | hsv(285, 52%, 98%) |
| CMYK | cmyk(13.3%, 52.2%, 0%, 2.4%) |
| CIE-LAB | lab(65.46, 57.84, -49.68) |
| CIE-LCH | lch(65.46, 76.25, 319.34°) |
| OKLab | oklab(72.65% 0.1478 -0.1383) |
| OKLCH | oklch(72.65% 0.202 316.9) |
| XYZ | xyz(52.0121, 34.6339, 93.5494) |
| Luminance | 0.3463 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.43
Easter Purple
#C071FE
ΔE00 5.00
Violet Pink
#FB5FFC
ΔE00 5.89
Violet (CSS)
#EE82EE
ΔE00 5.91
Light Magenta
#FA5FF7
ΔE00 6.03
Orchid
#DA70D6
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D877F9 #98F977
analogous
#9777F9 #D877F9 #F977D9
triadic
#D877F9 #F9D877 #77F9D8
tetradic
#D877F9 #F99777 #98F977 #77D9F9
square
#D877F9 #F99777 #98F977 #77D9F9
split-complementary
#D877F9 #D9F977 #77F997
monochromatic
#B20AEB #C73CF6 #D877F9 #E9B2FC #F7E2FE
Accessibility & contrast
On white
2.65
#D877F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#D877F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D877F9
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D877F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D877F9 | 1.00 | 2.65 | 7.93 | 7.93 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B99FD
Deuteranopia (green-blind)
#7AA2F6
Tritanopia (blue-blind)
#D78BAD
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #d877f9; /* rgb */ color: rgb(216, 119, 249); /* oklch */ color: oklch(72.6% 0.202 316.9);
Tailwind
colors: {
custom: {
50: '#e6a2fc',
500: '#d877f9',
950: '#000000',
},
}SCSS
$custom: #d877f9; $custom-light: #e6a2fc; $custom-dark: #000000;
JSON
{
"hex": "#d877f9",
"rgb": {
"r": 216,
"g": 119,
"b": 249
},
"hsl": {
"h": 284.769,
"s": 91.549,
"l": 72.157
},
"oklch": {
"l": 0.72649,
"c": 0.20238,
"h": 316.9
},
"luminance": 0.34632
}Semantic roles & 50–950 ramp
primary
#D877F9
secondary
#DDF6D5
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85