#D166DE#D166DE
#D166DE is a light, vivid purple. Relative luminance 0.283; OKLCH L 68.2% C 0.199 H 323.2°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #D166DE |
|---|---|
| RGB | rgb(209, 102, 222) |
| HSL | hsl(294, 65%, 64%) |
| HSV | hsv(294, 54%, 87%) |
| CMYK | cmyk(5.9%, 54.1%, 0%, 12.9%) |
| CIE-LAB | lab(60.19, 59.06, -43.07) |
| CIE-LCH | lch(60.19, 73.09, 323.90°) |
| OKLab | oklab(68.16% 0.1592 -0.1192) |
| OKLCH | oklch(68.16% 0.199 323.2) |
| XYZ | xyz(44.2294, 28.3342, 72.2324) |
| Luminance | 0.2833 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.77
Heliotrope
#D94FF5
ΔE00 4.78
Pinkish Purple
#D648D7
ΔE00 5.08
Bright Lilac
#C95EFB
ΔE00 5.51
Purpleish Pink
#DF4EC8
ΔE00 5.80
Orchid (survey)
#C875C4
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166DE #73DE66
analogous
#9566DE #D166DE #DE66AF
triadic
#D166DE #DED166 #66DED1
tetradic
#D166DE #DE9566 #73DE66 #66AFDE
square
#D166DE #DE9566 #73DE66 #66AFDE
split-complementary
#D166DE #AFDE66 #66DE95
monochromatic
#9824A6 #C234D3 #D166DE #E098E9 #EFCBF4
Accessibility & contrast
On white
3.15
#D166DE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.67
#D166DE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166DE
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166DE | 1.00 | 3.15 | 6.67 | 6.67 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5389E2
Deuteranopia (green-blind)
#7695DB
Tritanopia (blue-blind)
#D47699
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #d166de; /* rgb */ color: rgb(209, 102, 222); /* oklch */ color: oklch(68.2% 0.199 323.2);
Tailwind
colors: {
custom: {
50: '#e296e9',
500: '#d166de',
950: '#000000',
},
}SCSS
$custom: #d166de; $custom-light: #e296e9; $custom-dark: #000000;
JSON
{
"hex": "#d166de",
"rgb": {
"r": 209,
"g": 102,
"b": 222
},
"hsl": {
"h": 293.5,
"s": 64.516,
"l": 63.529
},
"oklch": {
"l": 0.68159,
"c": 0.19889,
"h": 323.2
},
"luminance": 0.28332
}Semantic roles & 50–950 ramp
primary
#D166DE
secondary
#BFE5BB
accent
#CC192D
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84