#D982EC#D982EC
#D982EC is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.7% C 0.172 H 320.2°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #D982EC |
|---|---|
| RGB | rgb(217, 130, 236) |
| HSL | hsl(289, 74%, 72%) |
| HSV | hsv(289, 45%, 93%) |
| CMYK | cmyk(8.1%, 44.9%, 0%, 7.5%) |
| CIE-LAB | lab(67.11, 50.02, -39.93) |
| CIE-LCH | lch(67.11, 64.01, 321.40°) |
| OKLab | oklab(73.7% 0.1324 -0.1101) |
| OKLCH | oklch(73.7% 0.172 320.2) |
| XYZ | xyz(51.7364, 36.7750, 83.7136) |
| Luminance | 0.3677 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.68
Lavender Pink
#DD85D7
ΔE00 4.68
Purply Pink
#F075E6
ΔE00 4.81
Orchid
#DA70D6
ΔE00 5.05
Liliac
#C48EFD
ΔE00 6.38
Light Purple
#BF77F6
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D982EC #95EC82
analogous
#A482EC #D982EC #EC82CA
triadic
#D982EC #ECD982 #82ECD9
tetradic
#D982EC #ECA482 #95EC82 #82CAEC
square
#D982EC #ECA482 #95EC82 #82CAEC
split-complementary
#D982EC #CAEC82 #82ECA4
monochromatic
#B320D3 #C94DE4 #D982EC #E9B7F4 #F7E4FB
Accessibility & contrast
On white
2.51
#D982EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#D982EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D982EC
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D982EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D982EC | 1.00 | 2.51 | 8.35 | 8.35 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#729DF0
Deuteranopia (green-blind)
#8AA7E9
Tritanopia (blue-blind)
#DA90AC
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d982ec; /* rgb */ color: rgb(217, 130, 236); /* oklch */ color: oklch(73.7% 0.172 320.2);
Tailwind
colors: {
custom: {
50: '#e6a8f2',
500: '#d982ec',
950: '#000000',
},
}SCSS
$custom: #d982ec; $custom-light: #e6a8f2; $custom-dark: #000000;
JSON
{
"hex": "#d982ec",
"rgb": {
"r": 217,
"g": 130,
"b": 236
},
"hsl": {
"h": 289.245,
"s": 73.611,
"l": 71.765
},
"oklch": {
"l": 0.73698,
"c": 0.17224,
"h": 320.2
},
"luminance": 0.36773
}Semantic roles & 50–950 ramp
primary
#D982EC
secondary
#DCF2D7
accent
#D61033
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85