#D87FF4#D87FF4
#D87FF4 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.5% C 0.185 H 317.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #D87FF4 |
|---|---|
| RGB | rgb(216, 127, 244) |
| HSL | hsl(286, 84%, 73%) |
| HSV | hsv(286, 48%, 96%) |
| CMYK | cmyk(11.5%, 48%, 0%, 4.3%) |
| CIE-LAB | lab(66.76, 52.84, -44.89) |
| CIE-LCH | lch(66.76, 69.34, 319.65°) |
| OKLab | oklab(73.53% 0.1366 -0.1245) |
| OKLCH | oklch(73.53% 0.185 317.7) |
| XYZ | xyz(52.2351, 36.3111, 89.8276) |
| Luminance | 0.3631 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.70
Light Purple
#BF77F6
ΔE00 5.30
Purply Pink
#F075E6
ΔE00 5.61
Liliac
#C48EFD
ΔE00 5.68
Orchid
#DA70D6
ΔE00 5.81
Easter Purple
#C071FE
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D87FF4 #9BF47F
analogous
#9D7FF4 #D87FF4 #F47FD6
triadic
#D87FF4 #F4D87F #7FF4D8
tetradic
#D87FF4 #F49D7F #9BF47F #7FD6F4
square
#D87FF4 #F49D7F #9BF47F #7FD6F4
split-complementary
#D87FF4 #D6F47F #7FF49D
monochromatic
#B314E5 #C747EF #D87FF4 #E9B7F9 #F6E3FD
Accessibility & contrast
On white
2.54
#D87FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#D87FF4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D87FF4
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D87FF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D87FF4 | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#699DF8
Deuteranopia (green-blind)
#83A5F1
Tritanopia (blue-blind)
#D890AE
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d87ff4; /* rgb */ color: rgb(216, 127, 244); /* oklch */ color: oklch(73.5% 0.185 317.7);
Tailwind
colors: {
custom: {
50: '#e6a7f8',
500: '#d87ff4',
950: '#000000',
},
}SCSS
$custom: #d87ff4; $custom-light: #e6a7f8; $custom-dark: #000000;
JSON
{
"hex": "#d87ff4",
"rgb": {
"r": 216,
"g": 127,
"b": 244
},
"hsl": {
"h": 285.641,
"s": 84.173,
"l": 72.745
},
"oklch": {
"l": 0.73529,
"c": 0.18478,
"h": 317.7
},
"luminance": 0.36309
}Semantic roles & 50–950 ramp
primary
#D87FF4
secondary
#DEF5D6
accent
#E10539
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85