#D87CF3#D87CF3
#D87CF3 is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.0% C 0.189 H 318.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #D87CF3 |
|---|---|
| RGB | rgb(216, 124, 243) |
| HSL | hsl(286, 83%, 72%) |
| HSV | hsv(286, 49%, 95%) |
| CMYK | cmyk(11.1%, 49%, 0%, 4.7%) |
| CIE-LAB | lab(66.13, 54.16, -45.33) |
| CIE-LCH | lch(66.13, 70.63, 320.07°) |
| OKLab | oklab(73.05% 0.1405 -0.1257) |
| OKLCH | oklch(73.05% 0.189 318.2) |
| XYZ | xyz(51.7020, 35.4871, 88.9029) |
| Luminance | 0.3548 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.83
Light Purple
#BF77F6
ΔE00 5.11
Orchid
#DA70D6
ΔE00 5.42
Purply Pink
#F075E6
ΔE00 5.43
Easter Purple
#C071FE
ΔE00 6.05
Liliac
#C48EFD
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D87CF3 #97F37C
analogous
#9D7CF3 #D87CF3 #F37CD2
triadic
#D87CF3 #F3D87C #7CF3D8
tetradic
#D87CF3 #F39D7C #97F37C #7CD2F3
square
#D87CF3 #F39D7C #97F37C #7CD2F3
split-complementary
#D87CF3 #D2F37C #7CF39D
monochromatic
#B215E0 #C744EE #D87CF3 #E9B4F8 #F7E3FC
Accessibility & contrast
On white
2.59
#D87CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#D87CF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D87CF3
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D87CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D87CF3 | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669BF7
Deuteranopia (green-blind)
#82A4F0
Tritanopia (blue-blind)
#D88DAC
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d87cf3; /* rgb */ color: rgb(216, 124, 243); /* oklch */ color: oklch(73.0% 0.189 318.2);
Tailwind
colors: {
custom: {
50: '#e6a5f7',
500: '#d87cf3',
950: '#000000',
},
}SCSS
$custom: #d87cf3; $custom-light: #e6a5f7; $custom-dark: #000000;
JSON
{
"hex": "#d87cf3",
"rgb": {
"r": 216,
"g": 124,
"b": 243
},
"hsl": {
"h": 286.387,
"s": 83.217,
"l": 71.961
},
"oklch": {
"l": 0.73046,
"c": 0.18853,
"h": 318.2
},
"luminance": 0.35485
}Semantic roles & 50–950 ramp
primary
#D87CF3
secondary
#DDF4D6
accent
#E00637
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85