#D982F9#D982F9
#D982F9 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.3% C 0.186 H 316.4°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #D982F9 |
|---|---|
| RGB | rgb(217, 130, 249) |
| HSL | hsl(284, 91%, 74%) |
| HSV | hsv(284, 48%, 98%) |
| CMYK | cmyk(12.9%, 47.8%, 0%, 2.4%) |
| CIE-LAB | lab(67.69, 52.58, -46.16) |
| CIE-LCH | lch(67.69, 69.97, 318.73°) |
| OKLab | oklab(74.33% 0.1343 -0.1281) |
| OKLCH | oklch(74.33% 0.186 316.4) |
| XYZ | xyz(53.6942, 37.5582, 94.0252) |
| Luminance | 0.3756 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.92
Liliac
#C48EFD
ΔE00 5.11
Light Purple
#BF77F6
ΔE00 5.45
Purply Pink
#F075E6
ΔE00 6.16
Easter Purple
#C071FE
ΔE00 6.45
Orchid
#DA70D6
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D982F9 #A2F982
analogous
#9E82F9 #D982F9 #F982DD
triadic
#D982F9 #F9D982 #82F9D9
tetradic
#D982F9 #F99E82 #A2F982 #82DDF9
square
#D982F9 #F99E82 #A2F982 #82DDF9
split-complementary
#D982F9 #DDF982 #82F99E
monochromatic
#B50DF3 #C748F6 #D982F9 #EBBCFC #F6E2FE
Accessibility & contrast
On white
2.47
#D982F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.51
#D982F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D982F9
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D982F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D982F9 | 1.00 | 2.47 | 8.51 | 8.51 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9FFD
Deuteranopia (green-blind)
#84A8F6
Tritanopia (blue-blind)
#D893B2
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #d982f9; /* rgb */ color: rgb(217, 130, 249); /* oklch */ color: oklch(74.3% 0.186 316.4);
Tailwind
colors: {
custom: {
50: '#e7a9fb',
500: '#d982f9',
950: '#000000',
},
}SCSS
$custom: #d982f9; $custom-light: #e7a9fb; $custom-dark: #000000;
JSON
{
"hex": "#d982f9",
"rgb": {
"r": 217,
"g": 130,
"b": 249
},
"hsl": {
"h": 283.866,
"s": 90.84,
"l": 74.314
},
"oklch": {
"l": 0.74325,
"c": 0.18563,
"h": 316.4
},
"luminance": 0.37557
}Semantic roles & 50–950 ramp
primary
#D982F9
secondary
#DEF6D5
accent
#E6003E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85