#D976EF#D976EF
#D976EF is a light, vivid purple. Relative luminance 0.339; OKLCH L 72.1% C 0.194 H 320.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #D976EF |
|---|---|
| RGB | rgb(217, 118, 239) |
| HSL | hsl(289, 79%, 70%) |
| HSV | hsv(289, 51%, 94%) |
| CMYK | cmyk(9.2%, 50.6%, 0%, 6.3%) |
| CIE-LAB | lab(64.92, 56.65, -45.02) |
| CIE-LCH | lch(64.92, 72.36, 321.52°) |
| OKLab | oklab(72.12% 0.1492 -0.1247) |
| OKLCH | oklch(72.12% 0.194 320.1) |
| XYZ | xyz(50.6718, 33.9426, 85.5270) |
| Luminance | 0.3394 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.43
Purply Pink
#F075E6
ΔE00 4.91
Violet (CSS)
#EE82EE
ΔE00 5.01
Light Purple
#BF77F6
ΔE00 5.33
Light Magenta
#FA5FF7
ΔE00 5.46
Violet Pink
#FB5FFC
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D976EF #8CEF76
analogous
#9D76EF #D976EF #EF76C8
triadic
#D976EF #EFD976 #76EFD9
tetradic
#D976EF #EF9D76 #8CEF76 #76C8EF
square
#D976EF #EF9D76 #8CEF76 #76C8EF
split-complementary
#D976EF #C8EF76 #76EF9D
monochromatic
#B019D2 #CA3FE9 #D976EF #E8ADF5 #F7E4FC
Accessibility & contrast
On white
2.70
#D976EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#D976EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D976EF
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D976EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D976EF | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6197F3
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#DA87A8
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #d976ef; /* rgb */ color: rgb(217, 118, 239); /* oklch */ color: oklch(72.1% 0.194 320.1);
Tailwind
colors: {
custom: {
50: '#e7a1f4',
500: '#d976ef',
950: '#000000',
},
}SCSS
$custom: #d976ef; $custom-light: #e7a1f4; $custom-dark: #000000;
JSON
{
"hex": "#d976ef",
"rgb": {
"r": 217,
"g": 118,
"b": 239
},
"hsl": {
"h": 289.091,
"s": 79.085,
"l": 70
},
"oklch": {
"l": 0.72117,
"c": 0.19447,
"h": 320.1
},
"luminance": 0.33941
}Semantic roles & 50–950 ramp
primary
#D976EF
secondary
#D6F1CF
accent
#DB0A30
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85