#D87EF9#D87EF9
#D87EF9 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.6% C 0.192 H 316.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #D87EF9 |
|---|---|
| RGB | rgb(216, 126, 249) |
| HSL | hsl(284, 91%, 74%) |
| HSV | hsv(284, 49%, 98%) |
| CMYK | cmyk(13.3%, 49.4%, 0%, 2.4%) |
| CIE-LAB | lab(66.80, 54.35, -47.58) |
| CIE-LCH | lch(66.80, 72.23, 318.80°) |
| OKLab | oklab(73.63% 0.1386 -0.1322) |
| OKLCH | oklch(73.63% 0.192 316.3) |
| XYZ | xyz(52.8761, 36.3618, 93.8373) |
| Luminance | 0.3636 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.87
Violet (CSS)
#EE82EE
ΔE00 5.29
Liliac
#C48EFD
ΔE00 5.44
Easter Purple
#C071FE
ΔE00 5.75
Purply Pink
#F075E6
ΔE00 6.16
Orchid
#DA70D6
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D87EF9 #9FF97E
analogous
#9A7EF9 #D87EF9 #F97EDD
triadic
#D87EF9 #F9D87E #7EF9D8
tetradic
#D87EF9 #F99A7E #9FF97E #7EDDF9
square
#D87EF9 #F99A7E #9FF97E #7EDDF9
split-complementary
#D87EF9 #DDF97E #7EF99A
monochromatic
#B40BF1 #C644F6 #D87EF9 #EAB8FC #F6E2FE
Accessibility & contrast
On white
2.54
#D87EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#D87EF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D87EF9
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D87EF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D87EF9 | 1.00 | 2.54 | 8.27 | 8.27 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#659DFD
Deuteranopia (green-blind)
#80A5F6
Tritanopia (blue-blind)
#D790B0
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d87ef9; /* rgb */ color: rgb(216, 126, 249); /* oklch */ color: oklch(73.6% 0.192 316.3);
Tailwind
colors: {
custom: {
50: '#e6a6fc',
500: '#d87ef9',
950: '#000000',
},
}SCSS
$custom: #d87ef9; $custom-light: #e6a6fc; $custom-dark: #000000;
JSON
{
"hex": "#d87ef9",
"rgb": {
"r": 216,
"g": 126,
"b": 249
},
"hsl": {
"h": 283.902,
"s": 91.111,
"l": 73.529
},
"oklch": {
"l": 0.73634,
"c": 0.19152,
"h": 316.3
},
"luminance": 0.3636
}Semantic roles & 50–950 ramp
primary
#D87EF9
secondary
#DEF6D5
accent
#E6003E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85