#D87DF5#D87DF5
#D87DF5 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.3% C 0.189 H 317.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #D87DF5 |
|---|---|
| RGB | rgb(216, 125, 245) |
| HSL | hsl(286, 86%, 73%) |
| HSV | hsv(286, 49%, 96%) |
| CMYK | cmyk(11.8%, 49%, 0%, 3.9%) |
| CIE-LAB | lab(66.41, 54.05, -45.98) |
| CIE-LCH | lch(66.41, 70.97, 319.61°) |
| OKLab | oklab(73.29% 0.1394 -0.1276) |
| OKLCH | oklch(73.29% 0.189 317.5) |
| XYZ | xyz(52.1316, 35.8605, 90.5441) |
| Luminance | 0.3586 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.94
Light Purple
#BF77F6
ΔE00 5.04
Purply Pink
#F075E6
ΔE00 5.67
Orchid
#DA70D6
ΔE00 5.79
Liliac
#C48EFD
ΔE00 5.84
Easter Purple
#C071FE
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D87DF5 #9AF57D
analogous
#9C7DF5 #D87DF5 #F57DD6
triadic
#D87DF5 #F5D87D #7DF5D8
tetradic
#D87DF5 #F59C7D #9AF57D #7DD6F5
square
#D87DF5 #F59C7D #9AF57D #7DD6F5
split-complementary
#D87DF5 #D6F57D #7DF59C
monochromatic
#B312E6 #C744F1 #D87DF5 #E9B6F9 #F6E3FD
Accessibility & contrast
On white
2.57
#D87DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#D87DF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D87DF5
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D87DF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D87DF5 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669CF9
Deuteranopia (green-blind)
#81A4F2
Tritanopia (blue-blind)
#D88EAE
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d87df5; /* rgb */ color: rgb(216, 125, 245); /* oklch */ color: oklch(73.3% 0.189 317.5);
Tailwind
colors: {
custom: {
50: '#e6a5f9',
500: '#d87df5',
950: '#000000',
},
}SCSS
$custom: #d87df5; $custom-light: #e6a5f9; $custom-dark: #000000;
JSON
{
"hex": "#d87df5",
"rgb": {
"r": 216,
"g": 125,
"b": 245
},
"hsl": {
"h": 285.5,
"s": 85.714,
"l": 72.549
},
"oklch": {
"l": 0.73289,
"c": 0.18898,
"h": 317.5
},
"luminance": 0.35859
}Semantic roles & 50–950 ramp
primary
#D87DF5
secondary
#DEF5D6
accent
#E20339
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85