#D982ED#D982ED
#D982ED is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.7% C 0.173 H 319.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #D982ED |
|---|---|
| RGB | rgb(217, 130, 237) |
| HSL | hsl(289, 75%, 72%) |
| HSV | hsv(289, 45%, 93%) |
| CMYK | cmyk(8.4%, 45.1%, 0%, 7.1%) |
| CIE-LAB | lab(67.15, 50.22, -40.41) |
| CIE-LCH | lch(67.15, 64.46, 321.17°) |
| OKLab | oklab(73.75% 0.1326 -0.1115) |
| OKLCH | oklch(73.75% 0.173 319.9) |
| XYZ | xyz(51.8821, 36.8333, 84.4809) |
| Luminance | 0.3683 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.75
Lavender Pink
#DD85D7
ΔE00 4.85
Purply Pink
#F075E6
ΔE00 4.90
Orchid
#DA70D6
ΔE00 5.17
Liliac
#C48EFD
ΔE00 6.26
Light Purple
#BF77F6
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D982ED #96ED82
analogous
#A482ED #D982ED #ED82CC
triadic
#D982ED #EDD982 #82EDD9
tetradic
#D982ED #EDA482 #96ED82 #82CCED
square
#D982ED #EDA482 #96ED82 #82CCED
split-complementary
#D982ED #CCED82 #82EDA4
monochromatic
#B41FD6 #C94DE5 #D982ED #E9B7F5 #F7E4FB
Accessibility & contrast
On white
2.51
#D982ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#D982ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D982ED
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D982ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D982ED | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#729DF1
Deuteranopia (green-blind)
#8AA7EA
Tritanopia (blue-blind)
#DA90AC
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d982ed; /* rgb */ color: rgb(217, 130, 237); /* oklch */ color: oklch(73.7% 0.173 319.9);
Tailwind
colors: {
custom: {
50: '#e6a8f3',
500: '#d982ed',
950: '#000000',
},
}SCSS
$custom: #d982ed; $custom-light: #e6a8f3; $custom-dark: #000000;
JSON
{
"hex": "#d982ed",
"rgb": {
"r": 217,
"g": 130,
"b": 237
},
"hsl": {
"h": 288.785,
"s": 74.825,
"l": 71.961
},
"oklch": {
"l": 0.73745,
"c": 0.17326,
"h": 319.9
},
"luminance": 0.36831
}Semantic roles & 50–950 ramp
primary
#D982ED
secondary
#DDF3D8
accent
#D70F34
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85