#D87DF0#D87DF0
#D87DF0 is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.0% C 0.184 H 319.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #D87DF0 |
|---|---|
| RGB | rgb(216, 125, 240) |
| HSL | hsl(287, 79%, 72%) |
| HSV | hsv(287, 48%, 94%) |
| CMYK | cmyk(10%, 47.9%, 0%, 5.9%) |
| CIE-LAB | lab(66.18, 53.07, -43.59) |
| CIE-LCH | lch(66.18, 68.68, 320.60°) |
| OKLab | oklab(73.04% 0.1388 -0.1207) |
| OKLCH | oklch(73.04% 0.184 319) |
| XYZ | xyz(51.3786, 35.5593, 86.5784) |
| Luminance | 0.3556 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.48
Orchid
#DA70D6
ΔE00 5.06
Purply Pink
#F075E6
ΔE00 5.12
Light Purple
#BF77F6
ΔE00 5.47
Lavender Pink
#DD85D7
ΔE00 5.90
Liliac
#C48EFD
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D87DF0 #95F07D
analogous
#9F7DF0 #D87DF0 #F07DCF
triadic
#D87DF0 #F0D87D #7DF0D8
tetradic
#D87DF0 #F09F7D #95F07D #7DCFF0
square
#D87DF0 #F09F7D #95F07D #7DCFF0
split-complementary
#D87DF0 #CFF07D #7DF09F
monochromatic
#B119DA #C846EA #D87DF0 #E8B4F6 #F7E4FC
Accessibility & contrast
On white
2.59
#D87DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#D87DF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D87DF0
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D87DF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D87DF0 | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#699BF4
Deuteranopia (green-blind)
#84A4ED
Tritanopia (blue-blind)
#D98DAB
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d87df0; /* rgb */ color: rgb(216, 125, 240); /* oklch */ color: oklch(73.0% 0.184 319.0);
Tailwind
colors: {
custom: {
50: '#e6a5f5',
500: '#d87df0',
950: '#000000',
},
}SCSS
$custom: #d87df0; $custom-light: #e6a5f5; $custom-dark: #000000;
JSON
{
"hex": "#d87df0",
"rgb": {
"r": 216,
"g": 125,
"b": 240
},
"hsl": {
"h": 287.478,
"s": 79.31,
"l": 71.569
},
"oklch": {
"l": 0.73042,
"c": 0.1839,
"h": 319
},
"luminance": 0.35557
}Semantic roles & 50–950 ramp
primary
#D87DF0
secondary
#DCF3D6
accent
#DC0A36
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85