#D966EF#D966EF
#D966EF is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 70.0% C 0.219 H 321.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #D966EF |
|---|---|
| RGB | rgb(217, 102, 239) |
| HSL | hsl(290, 81%, 67%) |
| HSV | hsv(290, 57%, 94%) |
| CMYK | cmyk(9.2%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(62.07, 64.24, -49.51) |
| CIE-LCH | lch(62.07, 81.11, 322.38°) |
| OKLab | oklab(70.03% 0.1697 -0.1376) |
| OKLCH | oklch(70.03% 0.219 321) |
| XYZ | xyz(48.9448, 30.4887, 84.9514) |
| Luminance | 0.3049 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.89
Bright Lilac
#C95EFB
ΔE00 4.38
Bright Lavender
#C760FF
ΔE00 4.87
Orchid
#DA70D6
ΔE00 5.00
Light Magenta
#FA5FF7
ΔE00 5.05
Violet Pink
#FB5FFC
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D966EF #7CEF66
analogous
#9566EF #D966EF #EF66C1
triadic
#D966EF #EFD966 #66EFD9
tetradic
#D966EF #EF9566 #7CEF66 #66C1EF
square
#D966EF #EF9566 #7CEF66 #66C1EF
split-complementary
#D966EF #C1EF66 #66EF95
monochromatic
#A915C6 #CB2FE9 #D966EF #E79DF5 #F5D5FB
Accessibility & contrast
On white
2.96
#D966EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#D966EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D966EF
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D966EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D966EF | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#739AEB
Tritanopia (blue-blind)
#DB7BA1
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #d966ef; /* rgb */ color: rgb(217, 102, 239); /* oklch */ color: oklch(70.0% 0.219 321.0);
Tailwind
colors: {
custom: {
50: '#e897f5',
500: '#d966ef',
950: '#000000',
},
}SCSS
$custom: #d966ef; $custom-light: #e897f5; $custom-dark: #000000;
JSON
{
"hex": "#d966ef",
"rgb": {
"r": 217,
"g": 102,
"b": 239
},
"hsl": {
"h": 290.365,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.70029,
"c": 0.21852,
"h": 321
},
"luminance": 0.30486
}Semantic roles & 50–950 ramp
primary
#D966EF
secondary
#CAEEC2
accent
#DD082A
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85