#D87DF3#D87DF3
#D87DF3 is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.2% C 0.187 H 318.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #D87DF3 |
|---|---|
| RGB | rgb(216, 125, 243) |
| HSL | hsl(286, 83%, 72%) |
| HSV | hsv(286, 49%, 95%) |
| CMYK | cmyk(11.1%, 48.6%, 0%, 4.7%) |
| CIE-LAB | lab(66.32, 53.66, -45.03) |
| CIE-LCH | lch(66.32, 70.05, 320.00°) |
| OKLab | oklab(73.19% 0.1392 -0.1248) |
| OKLCH | oklch(73.19% 0.187 318.1) |
| XYZ | xyz(51.8280, 35.7390, 88.9448) |
| Luminance | 0.3574 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.75
Light Purple
#BF77F6
ΔE00 5.19
Purply Pink
#F075E6
ΔE00 5.44
Orchid
#DA70D6
ΔE00 5.50
Liliac
#C48EFD
ΔE00 6.00
Easter Purple
#C071FE
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D87DF3 #98F37D
analogous
#9D7DF3 #D87DF3 #F37DD3
triadic
#D87DF3 #F3D87D #7DF3D8
tetradic
#D87DF3 #F39D7D #98F37D #7DD3F3
square
#D87DF3 #F39D7D #98F37D #7DD3F3
split-complementary
#D87DF3 #D3F37D #7DF39D
monochromatic
#B215E1 #C745EE #D87DF3 #E9B5F8 #F7E3FC
Accessibility & contrast
On white
2.58
#D87DF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#D87DF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D87DF3
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D87DF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D87DF3 | 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)
#679BF7
Deuteranopia (green-blind)
#82A4F0
Tritanopia (blue-blind)
#D88EAD
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d87df3; /* rgb */ color: rgb(216, 125, 243); /* oklch */ color: oklch(73.2% 0.187 318.1);
Tailwind
colors: {
custom: {
50: '#e6a5f7',
500: '#d87df3',
950: '#000000',
},
}SCSS
$custom: #d87df3; $custom-light: #e6a5f7; $custom-dark: #000000;
JSON
{
"hex": "#d87df3",
"rgb": {
"r": 216,
"g": 125,
"b": 243
},
"hsl": {
"h": 286.271,
"s": 83.099,
"l": 72.157
},
"oklch": {
"l": 0.7319,
"c": 0.18694,
"h": 318.1
},
"luminance": 0.35737
}Semantic roles & 50–950 ramp
primary
#D87DF3
secondary
#DDF4D7
accent
#E00638
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85