#D966EE#D966EE
#D966EE is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.0% C 0.218 H 321.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #D966EE |
|---|---|
| RGB | rgb(217, 102, 238) |
| HSL | hsl(291, 80%, 67%) |
| HSV | hsv(291, 57%, 93%) |
| CMYK | cmyk(8.8%, 57.1%, 0%, 6.7%) |
| CIE-LAB | lab(62.02, 64.06, -49.03) |
| CIE-LCH | lch(62.02, 80.67, 322.57°) |
| OKLab | oklab(69.98% 0.1697 -0.1363) |
| OKLCH | oklch(69.98% 0.218 321.2) |
| XYZ | xyz(48.7975, 30.4298, 84.1755) |
| Luminance | 0.3043 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.93
Bright Lilac
#C95EFB
ΔE00 4.49
Orchid
#DA70D6
ΔE00 4.86
Bright Lavender
#C760FF
ΔE00 4.98
Light Magenta
#FA5FF7
ΔE00 5.03
Violet Pink
#FB5FFC
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D966EE #7BEE66
analogous
#9566EE #D966EE #EE66BF
triadic
#D966EE #EED966 #66EED9
tetradic
#D966EE #EE9566 #7BEE66 #66BFEE
square
#D966EE #EE9566 #7BEE66 #66BFEE
split-complementary
#D966EE #BFEE66 #66EE95
monochromatic
#A916C4 #CB2FE8 #D966EE #E79DF4 #F4D4FA
Accessibility & contrast
On white
2.96
#D966EE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.09
#D966EE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D966EE
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D966EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D966EE | 1.00 | 2.96 | 7.09 | 7.09 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B8EF2
Deuteranopia (green-blind)
#749AEA
Tritanopia (blue-blind)
#DB7AA1
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #d966ee; /* rgb */ color: rgb(217, 102, 238); /* oklch */ color: oklch(70.0% 0.218 321.2);
Tailwind
colors: {
custom: {
50: '#e897f4',
500: '#d966ee',
950: '#000000',
},
}SCSS
$custom: #d966ee; $custom-light: #e897f4; $custom-dark: #000000;
JSON
{
"hex": "#d966ee",
"rgb": {
"r": 217,
"g": 102,
"b": 238
},
"hsl": {
"h": 290.735,
"s": 80,
"l": 66.667
},
"oklch": {
"l": 0.69976,
"c": 0.2176,
"h": 321.2
},
"luminance": 0.30428
}Semantic roles & 50–950 ramp
primary
#D966EE
secondary
#C9EEC2
accent
#DC092A
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85