#D873EE#D873EE
#D873EE is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.5% C 0.198 H 320.2°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #D873EE |
|---|---|
| RGB | rgb(216, 115, 238) |
| HSL | hsl(289, 78%, 69%) |
| HSV | hsv(289, 52%, 93%) |
| CMYK | cmyk(9.2%, 51.7%, 0%, 6.7%) |
| CIE-LAB | lab(64.19, 57.66, -45.62) |
| CIE-LCH | lch(64.19, 73.53, 321.65°) |
| OKLab | oklab(71.54% 0.1519 -0.1265) |
| OKLCH | oklch(71.54% 0.198 320.2) |
| XYZ | xyz(49.8804, 33.0355, 84.6214) |
| Luminance | 0.3303 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.30
Purply Pink
#F075E6
ΔE00 5.14
Light Purple
#BF77F6
ΔE00 5.20
Light Magenta
#FA5FF7
ΔE00 5.36
Violet Pink
#FB5FFC
ΔE00 5.43
Violet (CSS)
#EE82EE
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D873EE #89EE73
analogous
#9B73EE #D873EE #EE73C7
triadic
#D873EE #EED873 #73EED8
tetradic
#D873EE #EE9B73 #89EE73 #73C7EE
square
#D873EE #EE9B73 #89EE73 #73C7EE
split-complementary
#D873EE #C7EE73 #73EE9B
monochromatic
#AD19CE #C93CE7 #D873EE #E7AAF5 #F6E0FB
Accessibility & contrast
On white
2.76
#D873EE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#D873EE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D873EE
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D873EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D873EE | 1.00 | 2.76 | 7.61 | 7.61 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D94F2
Deuteranopia (green-blind)
#7D9FEB
Tritanopia (blue-blind)
#D984A6
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #d873ee; /* rgb */ color: rgb(216, 115, 238); /* oklch */ color: oklch(71.5% 0.198 320.2);
Tailwind
colors: {
custom: {
50: '#e69ff4',
500: '#d873ee',
950: '#000000',
},
}SCSS
$custom: #d873ee; $custom-light: #e69ff4; $custom-dark: #000000;
JSON
{
"hex": "#d873ee",
"rgb": {
"r": 216,
"g": 115,
"b": 238
},
"hsl": {
"h": 289.268,
"s": 78.344,
"l": 69.216
},
"oklch": {
"l": 0.71539,
"c": 0.19767,
"h": 320.2
},
"luminance": 0.33033
}Semantic roles & 50–950 ramp
primary
#D873EE
secondary
#D3F0CD
accent
#DB0B30
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85