#D966E5#D966E5
#D966E5 is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.5% C 0.209 H 323.8°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #D966E5 |
|---|---|
| RGB | rgb(217, 102, 229) |
| HSL | hsl(294, 71%, 65%) |
| HSV | hsv(294, 55%, 90%) |
| CMYK | cmyk(5.2%, 55.5%, 0%, 10.2%) |
| CIE-LAB | lab(61.58, 62.41, -44.72) |
| CIE-LCH | lch(61.58, 76.78, 324.37°) |
| OKLab | oklab(69.51% 0.169 -0.1238) |
| OKLCH | oklch(69.51% 0.209 323.8) |
| XYZ | xyz(47.5082, 29.9141, 77.3851) |
| Luminance | 0.2991 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.63
Heliotrope
#D94FF5
ΔE00 4.57
Light Magenta
#FA5FF7
ΔE00 5.07
Violet Pink
#FB5FFC
ΔE00 5.35
Bright Lilac
#C95EFB
ΔE00 5.55
Pinkish Purple
#D648D7
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D966E5 #72E566
analogous
#9A66E5 #D966E5 #E566B1
triadic
#D966E5 #E5D966 #66E5D9
tetradic
#D966E5 #E59A66 #72E566 #66B1E5
square
#D966E5 #E59A66 #72E566 #66B1E5
split-complementary
#D966E5 #B1E566 #66E59A
monochromatic
#A41EB2 #CC32DC #D966E5 #E69AEE #F3CFF7
Accessibility & contrast
On white
3.01
#D966E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#D966E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D966E5
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D966E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D966E5 | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#528CE9
Deuteranopia (green-blind)
#799AE1
Tritanopia (blue-blind)
#DD779C
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #d966e5; /* rgb */ color: rgb(217, 102, 229); /* oklch */ color: oklch(69.5% 0.209 323.8);
Tailwind
colors: {
custom: {
50: '#e797ed',
500: '#d966e5',
950: '#000000',
},
}SCSS
$custom: #d966e5; $custom-light: #e797ed; $custom-dark: #000000;
JSON
{
"hex": "#d966e5",
"rgb": {
"r": 217,
"g": 102,
"b": 229
},
"hsl": {
"h": 294.331,
"s": 70.95,
"l": 64.902
},
"oklch": {
"l": 0.69508,
"c": 0.20944,
"h": 323.8
},
"luminance": 0.29912
}Semantic roles & 50–950 ramp
primary
#D966E5
secondary
#C2E9BE
accent
#D31325
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84