#D966EA#D966EA
#D966EA is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 69.8% C 0.214 H 322.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #D966EA |
|---|---|
| RGB | rgb(217, 102, 234) |
| HSL | hsl(292, 76%, 66%) |
| HSV | hsv(292, 56%, 92%) |
| CMYK | cmyk(7.3%, 56.4%, 0%, 8.2%) |
| CIE-LAB | lab(61.82, 63.32, -47.13) |
| CIE-LCH | lch(61.82, 78.93, 323.34°) |
| OKLab | oklab(69.77% 0.1694 -0.1307) |
| OKLCH | oklch(69.77% 0.214 322.3) |
| XYZ | xyz(48.2164, 30.1973, 81.1149) |
| Luminance | 0.3019 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 4.16
Orchid
#DA70D6
ΔE00 4.31
Bright Lilac
#C95EFB
ΔE00 4.93
Light Magenta
#FA5FF7
ΔE00 5.00
Violet Pink
#FB5FFC
ΔE00 5.18
Bright Lavender
#C760FF
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D966EA #77EA66
analogous
#9766EA #D966EA #EA66B9
triadic
#D966EA #EAD966 #66EAD9
tetradic
#D966EA #EA9766 #77EA66 #66B9EA
square
#D966EA #EA9766 #77EA66 #66B9EA
split-complementary
#D966EA #B9EA66 #66EA97
monochromatic
#A71ABC #CC30E3 #D966EA #E69CF1 #F4D2F9
Accessibility & contrast
On white
2.98
#D966EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#D966EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D966EA
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D966EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D966EA | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E8DEE
Deuteranopia (green-blind)
#769AE6
Tritanopia (blue-blind)
#DC799F
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #d966ea; /* rgb */ color: rgb(217, 102, 234); /* oklch */ color: oklch(69.8% 0.214 322.3);
Tailwind
colors: {
custom: {
50: '#e897f1',
500: '#d966ea',
950: '#000000',
},
}SCSS
$custom: #d966ea; $custom-light: #e897f1; $custom-dark: #000000;
JSON
{
"hex": "#d966ea",
"rgb": {
"r": 217,
"g": 102,
"b": 234
},
"hsl": {
"h": 292.273,
"s": 75.862,
"l": 65.882
},
"oklch": {
"l": 0.69766,
"c": 0.21395,
"h": 322.3
},
"luminance": 0.30195
}Semantic roles & 50–950 ramp
primary
#D966EA
secondary
#C6ECC0
accent
#D80D28
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85