#D976EE#D976EE
#D976EE is a light, vivid purple. Relative luminance 0.339; OKLCH L 72.1% C 0.194 H 320.4°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #D976EE |
|---|---|
| RGB | rgb(217, 118, 238) |
| HSL | hsl(290, 78%, 70%) |
| HSV | hsv(290, 50%, 93%) |
| CMYK | cmyk(8.8%, 50.4%, 0%, 6.7%) |
| CIE-LAB | lab(64.87, 56.46, -44.54) |
| CIE-LCH | lch(64.87, 71.91, 321.73°) |
| OKLab | oklab(72.07% 0.1491 -0.1234) |
| OKLCH | oklch(72.07% 0.194 320.4) |
| XYZ | xyz(50.5245, 33.8837, 84.7512) |
| Luminance | 0.3388 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.27
Purply Pink
#F075E6
ΔE00 4.81
Violet (CSS)
#EE82EE
ΔE00 4.94
Light Purple
#BF77F6
ΔE00 5.43
Light Magenta
#FA5FF7
ΔE00 5.45
Violet Pink
#FB5FFC
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D976EE #8BEE76
analogous
#9D76EE #D976EE #EE76C7
triadic
#D976EE #EED976 #76EED9
tetradic
#D976EE #EE9D76 #8BEE76 #76C7EE
square
#D976EE #EE9D76 #8BEE76 #76C7EE
split-complementary
#D976EE #C7EE76 #76EE9D
monochromatic
#B01AD0 #CA40E7 #D976EE #E8ACF5 #F7E3FC
Accessibility & contrast
On white
2.70
#D976EE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#D976EE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D976EE
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D976EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D976EE | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6296F2
Deuteranopia (green-blind)
#80A1EB
Tritanopia (blue-blind)
#DA87A7
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #d976ee; /* rgb */ color: rgb(217, 118, 238); /* oklch */ color: oklch(72.1% 0.194 320.4);
Tailwind
colors: {
custom: {
50: '#e7a1f4',
500: '#d976ee',
950: '#000000',
},
}SCSS
$custom: #d976ee; $custom-light: #e7a1f4; $custom-dark: #000000;
JSON
{
"hex": "#d976ee",
"rgb": {
"r": 217,
"g": 118,
"b": 238
},
"hsl": {
"h": 289.5,
"s": 77.922,
"l": 69.804
},
"oklch": {
"l": 0.72067,
"c": 0.19351,
"h": 320.4
},
"luminance": 0.33882
}Semantic roles & 50–950 ramp
primary
#D976EE
secondary
#D5F1CF
accent
#DA0B30
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85