#D87FEF#D87FEF
#D87FEF is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.3% C 0.180 H 319.1°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #D87FEF |
|---|---|
| RGB | rgb(216, 127, 239) |
| HSL | hsl(288, 78%, 72%) |
| HSV | hsv(288, 47%, 94%) |
| CMYK | cmyk(9.6%, 46.9%, 0%, 6.3%) |
| CIE-LAB | lab(66.53, 51.86, -42.50) |
| CIE-LCH | lch(66.53, 67.05, 320.67°) |
| OKLab | oklab(73.29% 0.1359 -0.1175) |
| OKLCH | oklch(73.29% 0.18 319.1) |
| XYZ | xyz(51.4862, 36.0115, 85.8834) |
| Luminance | 0.3601 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.24
Purply Pink
#F075E6
ΔE00 5.07
Orchid
#DA70D6
ΔE00 5.12
Lavender Pink
#DD85D7
ΔE00 5.55
Light Purple
#BF77F6
ΔE00 5.75
Liliac
#C48EFD
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D87FEF #96EF7F
analogous
#A07FEF #D87FEF #EF7FCE
triadic
#D87FEF #EFD87F #7FEFD8
tetradic
#D87FEF #EFA07F #96EF7F #7FCEEF
square
#D87FEF #EFA07F #96EF7F #7FCEEF
split-complementary
#D87FEF #CEEF7F #7FEFA0
monochromatic
#B21BD9 #C749E8 #D87FEF #E9B5F6 #F7E4FC
Accessibility & contrast
On white
2.56
#D87FEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#D87FEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D87FEF
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D87FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D87FEF | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9CF3
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#D98EAC
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d87fef; /* rgb */ color: rgb(216, 127, 239); /* oklch */ color: oklch(73.3% 0.180 319.1);
Tailwind
colors: {
custom: {
50: '#e6a6f4',
500: '#d87fef',
950: '#000000',
},
}SCSS
$custom: #d87fef; $custom-light: #e6a6f4; $custom-dark: #000000;
JSON
{
"hex": "#d87fef",
"rgb": {
"r": 216,
"g": 127,
"b": 239
},
"hsl": {
"h": 287.679,
"s": 77.778,
"l": 71.765
},
"oklch": {
"l": 0.73285,
"c": 0.17967,
"h": 319.1
},
"luminance": 0.3601
}Semantic roles & 50–950 ramp
primary
#D87FEF
secondary
#DDF3D7
accent
#DA0B36
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85