#D980F9#D980F9
#D980F9 is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.0% C 0.189 H 316.5°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #D980F9 |
|---|---|
| RGB | rgb(217, 128, 249) |
| HSL | hsl(284, 91%, 74%) |
| HSV | hsv(284, 49%, 98%) |
| CMYK | cmyk(12.9%, 48.6%, 0%, 2.4%) |
| CIE-LAB | lab(67.30, 53.60, -46.77) |
| CIE-LCH | lch(67.30, 71.14, 318.89°) |
| OKLab | oklab(74.03% 0.137 -0.1299) |
| OKLCH | oklch(74.03% 0.189 316.5) |
| XYZ | xyz(53.4308, 37.0313, 93.9373) |
| Luminance | 0.3703 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 5.00
Light Purple
#BF77F6
ΔE00 5.23
Liliac
#C48EFD
ΔE00 5.33
Purply Pink
#F075E6
ΔE00 6.07
Easter Purple
#C071FE
ΔE00 6.17
Orchid
#DA70D6
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D980F9 #A0F980
analogous
#9D80F9 #D980F9 #F980DD
triadic
#D980F9 #F9D980 #80F9D9
tetradic
#D980F9 #F99D80 #A0F980 #80DDF9
square
#D980F9 #F99D80 #A0F980 #80DDF9
split-complementary
#D980F9 #DDF980 #80F99D
monochromatic
#B60BF3 #C846F6 #D980F9 #EABAFC #F6E2FE
Accessibility & contrast
On white
2.50
#D980F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#D980F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D980F9
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D980F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D980F9 | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689EFD
Deuteranopia (green-blind)
#82A7F6
Tritanopia (blue-blind)
#D892B1
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #d980f9; /* rgb */ color: rgb(217, 128, 249); /* oklch */ color: oklch(74.0% 0.189 316.5);
Tailwind
colors: {
custom: {
50: '#e7a7fc',
500: '#d980f9',
950: '#000000',
},
}SCSS
$custom: #d980f9; $custom-light: #e7a7fc; $custom-dark: #000000;
JSON
{
"hex": "#d980f9",
"rgb": {
"r": 217,
"g": 128,
"b": 249
},
"hsl": {
"h": 284.132,
"s": 90.977,
"l": 73.922
},
"oklch": {
"l": 0.74033,
"c": 0.1888,
"h": 316.5
},
"luminance": 0.3703
}Semantic roles & 50–950 ramp
primary
#D980F9
secondary
#DEF6D5
accent
#E6003D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85