#D87CF7#D87CF7
#D87CF7 is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.2% C 0.193 H 317.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #D87CF7 |
|---|---|
| RGB | rgb(216, 124, 247) |
| HSL | hsl(285, 88%, 73%) |
| HSV | hsv(285, 50%, 97%) |
| CMYK | cmyk(12.6%, 49.8%, 0%, 3.1%) |
| CIE-LAB | lab(66.31, 54.95, -47.24) |
| CIE-LCH | lch(66.31, 72.47, 319.32°) |
| OKLab | oklab(73.25% 0.141 -0.1312) |
| OKLCH | oklch(73.25% 0.193 317.1) |
| XYZ | xyz(52.3126, 35.7314, 92.1188) |
| Luminance | 0.3573 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.82
Violet (CSS)
#EE82EE
ΔE00 5.23
Easter Purple
#C071FE
ΔE00 5.67
Liliac
#C48EFD
ΔE00 5.83
Purply Pink
#F075E6
ΔE00 5.89
Orchid
#DA70D6
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D87CF7 #9BF77C
analogous
#9A7CF7 #D87CF7 #F77CD8
triadic
#D87CF7 #F7D87C #7CF7D8
tetradic
#D87CF7 #F79A7C #9BF77C #7CD8F7
square
#D87CF7 #F79A7C #9BF77C #7CD8F7
split-complementary
#D87CF7 #D8F77C #7CF79A
monochromatic
#B30EEA #C742F3 #D87CF7 #E9B6FB #F6E2FD
Accessibility & contrast
On white
2.58
#D87CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#D87CF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D87CF7
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D87CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D87CF7 | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649BFB
Deuteranopia (green-blind)
#7FA4F4
Tritanopia (blue-blind)
#D78EAE
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d87cf7; /* rgb */ color: rgb(216, 124, 247); /* oklch */ color: oklch(73.2% 0.193 317.1);
Tailwind
colors: {
custom: {
50: '#e6a5fa',
500: '#d87cf7',
950: '#000000',
},
}SCSS
$custom: #d87cf7; $custom-light: #e6a5fa; $custom-dark: #000000;
JSON
{
"hex": "#d87cf7",
"rgb": {
"r": 216,
"g": 124,
"b": 247
},
"hsl": {
"h": 284.878,
"s": 88.489,
"l": 72.745
},
"oklch": {
"l": 0.73247,
"c": 0.1926,
"h": 317.1
},
"luminance": 0.3573
}Semantic roles & 50–950 ramp
primary
#D87CF7
secondary
#DEF5D6
accent
#E5003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85