#D986EF#D986EF
#D986EF is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.4% C 0.169 H 319.0°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #D986EF |
|---|---|
| RGB | rgb(217, 134, 239) |
| HSL | hsl(287, 77%, 73%) |
| HSV | hsv(287, 44%, 94%) |
| CMYK | cmyk(9.2%, 43.9%, 0%, 6.3%) |
| CIE-LAB | lab(68.05, 48.54, -40.12) |
| CIE-LCH | lch(68.05, 62.97, 320.43°) |
| OKLab | oklab(74.44% 0.1273 -0.1107) |
| OKLCH | oklch(74.44% 0.169 319) |
| XYZ | xyz(52.7183, 38.0357, 86.2092) |
| Luminance | 0.3803 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.87
Lavender Pink
#DD85D7
ΔE00 4.97
Purply Pink
#F075E6
ΔE00 5.44
Liliac
#C48EFD
ΔE00 5.78
Orchid
#DA70D6
ΔE00 5.97
Baby Purple
#CA9BF7
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D986EF #9CEF86
analogous
#A486EF #D986EF #EF86D0
triadic
#D986EF #EFD986 #86EFD9
tetradic
#D986EF #EFA486 #9CEF86 #86D0EF
square
#D986EF #EFA486 #9CEF86 #86D0EF
split-complementary
#D986EF #D0EF86 #86EFA4
monochromatic
#B51DDD #C850E8 #D986EF #EABCF6 #F7E4FB
Accessibility & contrast
On white
2.44
#D986EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.61
#D986EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D986EF
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D986EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D986EF | 1.00 | 2.44 | 8.61 | 8.61 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76A0F3
Deuteranopia (green-blind)
#8CA9EC
Tritanopia (blue-blind)
#DA94AF
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #d986ef; /* rgb */ color: rgb(217, 134, 239); /* oklch */ color: oklch(74.4% 0.169 319.0);
Tailwind
colors: {
custom: {
50: '#e6abf4',
500: '#d986ef',
950: '#000000',
},
}SCSS
$custom: #d986ef; $custom-light: #e6abf4; $custom-dark: #000000;
JSON
{
"hex": "#d986ef",
"rgb": {
"r": 217,
"g": 134,
"b": 239
},
"hsl": {
"h": 287.429,
"s": 76.642,
"l": 73.137
},
"oklch": {
"l": 0.74441,
"c": 0.16874,
"h": 319
},
"luminance": 0.38034
}Semantic roles & 50–950 ramp
primary
#D986EF
secondary
#DEF3D8
accent
#D90D37
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85