#D966F3#D966F3
#D966F3 is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.2% C 0.222 H 319.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #D966F3 |
|---|---|
| RGB | rgb(217, 102, 243) |
| HSL | hsl(289, 85%, 68%) |
| HSV | hsv(289, 58%, 95%) |
| CMYK | cmyk(10.7%, 58%, 0%, 4.7%) |
| CIE-LAB | lab(62.28, 64.99, -51.41) |
| CIE-LCH | lch(62.28, 82.86, 321.66°) |
| OKLab | oklab(70.24% 0.1699 -0.1432) |
| OKLCH | oklch(70.24% 0.222 319.9) |
| XYZ | xyz(49.5423, 30.7277, 88.0981) |
| Luminance | 0.3073 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.78
Bright Lilac
#C95EFB
ΔE00 4.02
Bright Lavender
#C760FF
ΔE00 4.45
Violet Pink
#FB5FFC
ΔE00 5.16
Light Magenta
#FA5FF7
ΔE00 5.17
Easter Purple
#C071FE
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D966F3 #80F366
analogous
#9266F3 #D966F3 #F366C7
triadic
#D966F3 #F3D966 #66F3D9
tetradic
#D966F3 #F39266 #80F366 #66C7F3
square
#D966F3 #F39266 #80F366 #66C7F3
split-complementary
#D966F3 #C7F366 #66F392
monochromatic
#AB10CE #CB2DEF #D966F3 #E79FF7 #F5D7FC
Accessibility & contrast
On white
2.94
#D966F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#D966F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D966F3
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D966F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D966F3 | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#468FF7
Deuteranopia (green-blind)
#719BEF
Tritanopia (blue-blind)
#DA7CA3
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #d966f3; /* rgb */ color: rgb(217, 102, 243); /* oklch */ color: oklch(70.2% 0.222 319.9);
Tailwind
colors: {
custom: {
50: '#e897f7',
500: '#d966f3',
950: '#000000',
},
}SCSS
$custom: #d966f3; $custom-light: #e897f7; $custom-dark: #000000;
JSON
{
"hex": "#d966f3",
"rgb": {
"r": 217,
"g": 102,
"b": 243
},
"hsl": {
"h": 288.936,
"s": 85.455,
"l": 67.647
},
"oklch": {
"l": 0.70243,
"c": 0.2222,
"h": 319.9
},
"luminance": 0.30726
}Semantic roles & 50–950 ramp
primary
#D966F3
secondary
#CDF0C5
accent
#E2042D
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85