#D986EC#D986EC
#D986EC is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.3% C 0.166 H 320.0°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #D986EC |
|---|---|
| RGB | rgb(217, 134, 236) |
| HSL | hsl(289, 73%, 73%) |
| HSV | hsv(289, 43%, 93%) |
| CMYK | cmyk(8.1%, 43.2%, 0%, 7.5%) |
| CIE-LAB | lab(67.92, 47.96, -38.67) |
| CIE-LCH | lch(67.92, 61.60, 321.12°) |
| OKLab | oklab(74.3% 0.1268 -0.1065) |
| OKLCH | oklch(74.3% 0.166 320) |
| XYZ | xyz(52.2788, 37.8599, 83.8944) |
| Luminance | 0.3786 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.67
Lavender Pink
#DD85D7
ΔE00 4.44
Purply Pink
#F075E6
ΔE00 5.21
Orchid
#DA70D6
ΔE00 5.66
Liliac
#C48EFD
ΔE00 6.16
Baby Purple
#CA9BF7
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D986EC #99EC86
analogous
#A686EC #D986EC #EC86CC
triadic
#D986EC #ECD986 #86ECD9
tetradic
#D986EC #ECA686 #99EC86 #86CCEC
square
#D986EC #ECA686 #99EC86 #86CCEC
split-complementary
#D986EC #CCEC86 #86ECA6
monochromatic
#B422D6 #C851E4 #D986EC #EABBF4 #F7E5FB
Accessibility & contrast
On white
2.45
#D986EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.57
#D986EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D986EC
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D986EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D986EC | 1.00 | 2.45 | 8.57 | 8.57 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77A0F0
Deuteranopia (green-blind)
#8EA9E9
Tritanopia (blue-blind)
#DA93AE
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #d986ec; /* rgb */ color: rgb(217, 134, 236); /* oklch */ color: oklch(74.3% 0.166 320.0);
Tailwind
colors: {
custom: {
50: '#e6abf2',
500: '#d986ec',
950: '#000000',
},
}SCSS
$custom: #d986ec; $custom-light: #e6abf2; $custom-dark: #000000;
JSON
{
"hex": "#d986ec",
"rgb": {
"r": 217,
"g": 134,
"b": 236
},
"hsl": {
"h": 288.824,
"s": 72.857,
"l": 72.549
},
"oklch": {
"l": 0.74302,
"c": 0.16563,
"h": 320
},
"luminance": 0.37858
}Semantic roles & 50–950 ramp
primary
#D986EC
secondary
#DDF3D8
accent
#D51135
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85