#D166DF#D166DF
#D166DF is a light, vivid purple. Relative luminance 0.284; OKLCH L 68.2% C 0.200 H 322.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #D166DF |
|---|---|
| RGB | rgb(209, 102, 223) |
| HSL | hsl(293, 65%, 64%) |
| HSV | hsv(293, 54%, 87%) |
| CMYK | cmyk(6.3%, 54.3%, 0%, 12.5%) |
| CIE-LAB | lab(60.24, 59.24, -43.55) |
| CIE-LCH | lch(60.24, 73.53, 323.68°) |
| OKLab | oklab(68.21% 0.1593 -0.1206) |
| OKLCH | oklch(68.21% 0.2 322.9) |
| XYZ | xyz(44.3638, 28.3879, 72.9403) |
| Luminance | 0.2839 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.88
Heliotrope
#D94FF5
ΔE00 4.67
Pinkish Purple
#D648D7
ΔE00 5.12
Bright Lilac
#C95EFB
ΔE00 5.35
Purpleish Pink
#DF4EC8
ΔE00 5.92
Bright Lavender
#C760FF
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166DF #74DF66
analogous
#9466DF #D166DF #DF66B0
triadic
#D166DF #DFD166 #66DFD1
tetradic
#D166DF #DF9466 #74DF66 #66B0DF
square
#D166DF #DF9466 #74DF66 #66B0DF
split-complementary
#D166DF #B0DF66 #66DF94
monochromatic
#9823A8 #C233D4 #D166DF #E099EA #EFCBF4
Accessibility & contrast
On white
3.15
#D166DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#D166DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166DF
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166DF | 1.00 | 3.15 | 6.68 | 6.68 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5389E3
Deuteranopia (green-blind)
#7696DC
Tritanopia (blue-blind)
#D47699
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #d166df; /* rgb */ color: rgb(209, 102, 223); /* oklch */ color: oklch(68.2% 0.200 322.9);
Tailwind
colors: {
custom: {
50: '#e296e9',
500: '#d166df',
950: '#000000',
},
}SCSS
$custom: #d166df; $custom-light: #e296e9; $custom-dark: #000000;
JSON
{
"hex": "#d166df",
"rgb": {
"r": 209,
"g": 102,
"b": 223
},
"hsl": {
"h": 293.058,
"s": 65.405,
"l": 63.725
},
"oklch": {
"l": 0.68211,
"c": 0.19981,
"h": 322.9
},
"luminance": 0.28386
}Semantic roles & 50–950 ramp
primary
#D166DF
secondary
#C0E6BB
accent
#CD182D
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84