#D87EF0#D87EF0
#D87EF0 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.2% C 0.182 H 318.9°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #D87EF0 |
|---|---|
| RGB | rgb(216, 126, 240) |
| HSL | hsl(287, 79%, 72%) |
| HSV | hsv(287, 48%, 94%) |
| CMYK | cmyk(10%, 47.5%, 0%, 5.9%) |
| CIE-LAB | lab(66.38, 52.56, -43.29) |
| CIE-LCH | lch(66.38, 68.09, 320.53°) |
| OKLab | oklab(73.19% 0.1374 -0.1198) |
| OKLCH | oklch(73.19% 0.182 318.9) |
| XYZ | xyz(51.5059, 35.8137, 86.6208) |
| Luminance | 0.3581 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.39
Purply Pink
#F075E6
ΔE00 5.14
Orchid
#DA70D6
ΔE00 5.15
Light Purple
#BF77F6
ΔE00 5.55
Lavender Pink
#DD85D7
ΔE00 5.80
Liliac
#C48EFD
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D87EF0 #96F07E
analogous
#9F7EF0 #D87EF0 #F07ECF
triadic
#D87EF0 #F0D87E #7EF0D8
tetradic
#D87EF0 #F09F7E #96F07E #7ECFF0
square
#D87EF0 #F09F7E #96F07E #7ECFF0
split-complementary
#D87EF0 #CFF07E #7EF09F
monochromatic
#B219DA #C747EA #D87EF0 #E9B5F6 #F7E4FC
Accessibility & contrast
On white
2.57
#D87EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#D87EF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D87EF0
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D87EF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D87EF0 | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9BF4
Deuteranopia (green-blind)
#85A5ED
Tritanopia (blue-blind)
#D98EAC
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d87ef0; /* rgb */ color: rgb(216, 126, 240); /* oklch */ color: oklch(73.2% 0.182 318.9);
Tailwind
colors: {
custom: {
50: '#e6a6f5',
500: '#d87ef0',
950: '#000000',
},
}SCSS
$custom: #d87ef0; $custom-light: #e6a6f5; $custom-dark: #000000;
JSON
{
"hex": "#d87ef0",
"rgb": {
"r": 216,
"g": 126,
"b": 240
},
"hsl": {
"h": 287.368,
"s": 79.167,
"l": 71.765
},
"oklch": {
"l": 0.73187,
"c": 0.18229,
"h": 318.9
},
"luminance": 0.35812
}Semantic roles & 50–950 ramp
primary
#D87EF0
secondary
#DDF3D6
accent
#DB0A36
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85