#D980FB#D980FB
#D980FB is a light, vivid purple. Relative luminance 0.372; OKLCH L 74.1% C 0.191 H 316.0°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #D980FB |
|---|---|
| RGB | rgb(217, 128, 251) |
| HSL | hsl(283, 94%, 74%) |
| HSV | hsv(283, 49%, 98%) |
| CMYK | cmyk(13.5%, 49%, 0%, 1.6%) |
| CIE-LAB | lab(67.39, 54.00, -47.72) |
| CIE-LCH | lch(67.39, 72.07, 318.53°) |
| OKLab | oklab(74.13% 0.1373 -0.1326) |
| OKLCH | oklch(74.13% 0.191 316) |
| XYZ | xyz(53.7444, 37.1567, 95.5889) |
| Luminance | 0.3715 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 5.14
Liliac
#C48EFD
ΔE00 5.21
Violet (CSS)
#EE82EE
ΔE00 5.24
Easter Purple
#C071FE
ΔE00 6.03
Purply Pink
#F075E6
ΔE00 6.31
Orchid
#DA70D6
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D980FB #A2FB80
analogous
#9C80FB #D980FB #FB80DF
triadic
#D980FB #FBD980 #80FBD9
tetradic
#D980FB #FB9C80 #A2FB80 #80DFFB
square
#D980FB #FB9C80 #A2FB80 #80DFFB
split-complementary
#D980FB #DFFB80 #80FB9C
monochromatic
#B509F7 #C745F9 #D980FB #EBBBFD #F6E1FE
Accessibility & contrast
On white
2.49
#D980FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#D980FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D980FB
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D980FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D980FB | 1.00 | 2.49 | 8.43 | 8.43 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#81A7F8
Tritanopia (blue-blind)
#D792B2
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #d980fb; /* rgb */ color: rgb(217, 128, 251); /* oklch */ color: oklch(74.1% 0.191 316.0);
Tailwind
colors: {
custom: {
50: '#e7a7fd',
500: '#d980fb',
950: '#000000',
},
}SCSS
$custom: #d980fb; $custom-light: #e7a7fd; $custom-dark: #000000;
JSON
{
"hex": "#d980fb",
"rgb": {
"r": 217,
"g": 128,
"b": 251
},
"hsl": {
"h": 283.415,
"s": 93.893,
"l": 74.314
},
"oklch": {
"l": 0.74134,
"c": 0.19087,
"h": 316
},
"luminance": 0.37155
}Semantic roles & 50–950 ramp
primary
#D980FB
secondary
#DEF6D5
accent
#E6003F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86