#D87CFD#D87CFD
#D87CFD is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.6% C 0.199 H 315.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #D87CFD |
|---|---|
| RGB | rgb(216, 124, 253) |
| HSL | hsl(283, 97%, 74%) |
| HSV | hsv(283, 51%, 99%) |
| CMYK | cmyk(14.6%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(66.60, 56.15, -50.07) |
| CIE-LCH | lch(66.60, 75.24, 318.28°) |
| OKLab | oklab(73.55% 0.1416 -0.1394) |
| OKLCH | oklch(73.55% 0.199 315.4) |
| XYZ | xyz(53.2534, 36.1077, 97.0737) |
| Luminance | 0.3611 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.54
Easter Purple
#C071FE
ΔE00 5.23
Liliac
#C48EFD
ΔE00 5.52
Violet (CSS)
#EE82EE
ΔE00 5.88
Violet Pink
#FB5FFC
ΔE00 6.53
Purply Pink
#F075E6
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D87CFD #A1FD7C
analogous
#987CFD #D87CFD #FD7CE1
triadic
#D87CFD #FDD87C #7CFDD8
tetradic
#D87CFD #FD987C #A1FD7C #7CE1FD
square
#D87CFD #FD987C #A1FD7C #7CE1FD
split-complementary
#D87CFD #E1FD7C #7CFD98
monochromatic
#B404FB #C640FC #D87CFD #EAB8FE #F6E1FF
Accessibility & contrast
On white
2.55
#D87CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#D87CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D87CFD
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D87CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D87CFD | 1.00 | 2.55 | 8.22 | 8.22 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#7CA5FA
Tritanopia (blue-blind)
#D690B1
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d87cfd; /* rgb */ color: rgb(216, 124, 253); /* oklch */ color: oklch(73.6% 0.199 315.4);
Tailwind
colors: {
custom: {
50: '#e6a5fe',
500: '#d87cfd',
950: '#000000',
},
}SCSS
$custom: #d87cfd; $custom-light: #e6a5fe; $custom-dark: #000000;
JSON
{
"hex": "#d87cfd",
"rgb": {
"r": 216,
"g": 124,
"b": 253
},
"hsl": {
"h": 282.791,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.73553,
"c": 0.19875,
"h": 315.4
},
"luminance": 0.36106
}Semantic roles & 50–950 ramp
primary
#D87CFD
secondary
#DEF7D4
accent
#E60042
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86