#D87FF7#D87FF7
#D87FF7 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.7% C 0.188 H 316.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #D87FF7 |
|---|---|
| RGB | rgb(216, 127, 247) |
| HSL | hsl(285, 88%, 73%) |
| HSV | hsv(285, 49%, 97%) |
| CMYK | cmyk(12.6%, 48.6%, 0%, 3.1%) |
| CIE-LAB | lab(66.90, 53.44, -46.32) |
| CIE-LCH | lch(66.90, 70.72, 319.08°) |
| OKLab | oklab(73.68% 0.137 -0.1286) |
| OKLCH | oklch(73.68% 0.188 316.8) |
| XYZ | xyz(52.6943, 36.4947, 92.2461) |
| Luminance | 0.3649 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 5.01
Light Purple
#BF77F6
ΔE00 5.08
Liliac
#C48EFD
ΔE00 5.45
Purply Pink
#F075E6
ΔE00 5.95
Easter Purple
#C071FE
ΔE00 6.05
Orchid
#DA70D6
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D87FF7 #9EF77F
analogous
#9C7FF7 #D87FF7 #F77FDA
triadic
#D87FF7 #F7D87F #7FF7D8
tetradic
#D87FF7 #F79C7F #9EF77F #7FDAF7
square
#D87FF7 #F79C7F #9EF77F #7FDAF7
split-complementary
#D87FF7 #DAF77F #7FF79C
monochromatic
#B30FED #C645F3 #D87FF7 #EAB9FB #F6E2FD
Accessibility & contrast
On white
2.53
#D87FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.30
#D87FF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D87FF7
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D87FF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D87FF7 | 1.00 | 2.53 | 8.30 | 8.30 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#82A6F4
Tritanopia (blue-blind)
#D790B0
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d87ff7; /* rgb */ color: rgb(216, 127, 247); /* oklch */ color: oklch(73.7% 0.188 316.8);
Tailwind
colors: {
custom: {
50: '#e6a7fa',
500: '#d87ff7',
950: '#000000',
},
}SCSS
$custom: #d87ff7; $custom-light: #e6a7fa; $custom-dark: #000000;
JSON
{
"hex": "#d87ff7",
"rgb": {
"r": 216,
"g": 127,
"b": 247
},
"hsl": {
"h": 284.5,
"s": 88.235,
"l": 73.333
},
"oklch": {
"l": 0.73678,
"c": 0.18787,
"h": 316.8
},
"luminance": 0.36493
}Semantic roles & 50–950 ramp
primary
#D87FF7
secondary
#DEF5D6
accent
#E5013C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85