#D166DC#D166DC
#D166DC is a light, vivid purple. Relative luminance 0.282; OKLCH L 68.1% C 0.197 H 323.8°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #D166DC |
|---|---|
| RGB | rgb(209, 102, 220) |
| HSL | hsl(294, 63%, 63%) |
| HSV | hsv(294, 54%, 86%) |
| CMYK | cmyk(5%, 53.6%, 0%, 13.7%) |
| CIE-LAB | lab(60.09, 58.69, -42.10) |
| CIE-LCH | lch(60.09, 72.23, 324.35°) |
| OKLab | oklab(68.06% 0.159 -0.1164) |
| OKLCH | oklch(68.06% 0.197 323.8) |
| XYZ | xyz(43.9629, 28.2276, 70.8291) |
| Luminance | 0.2823 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.57
Heliotrope
#D94FF5
ΔE00 5.02
Pinkish Purple
#D648D7
ΔE00 5.03
Purpleish Pink
#DF4EC8
ΔE00 5.56
Orchid (survey)
#C875C4
ΔE00 5.68
Bright Lilac
#C95EFB
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166DC #71DC66
analogous
#9666DC #D166DC #DC66AC
triadic
#D166DC #DCD166 #66DCD1
tetradic
#D166DC #DC9666 #71DC66 #66ACDC
square
#D166DC #DC9666 #71DC66 #66ACDC
split-complementary
#D166DC #ACDC66 #66DC96
monochromatic
#9725A2 #C234D1 #D166DC #E098E7 #EFCAF3
Accessibility & contrast
On white
3.16
#D166DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#D166DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166DC
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166DC | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5589E0
Deuteranopia (green-blind)
#7795D9
Tritanopia (blue-blind)
#D57598
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #d166dc; /* rgb */ color: rgb(209, 102, 220); /* oklch */ color: oklch(68.1% 0.197 323.8);
Tailwind
colors: {
custom: {
50: '#e296e7',
500: '#d166dc',
950: '#000000',
},
}SCSS
$custom: #d166dc; $custom-light: #e296e7; $custom-dark: #000000;
JSON
{
"hex": "#d166dc",
"rgb": {
"r": 209,
"g": 102,
"b": 220
},
"hsl": {
"h": 294.407,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.68058,
"c": 0.19705,
"h": 323.8
},
"luminance": 0.28225
}Semantic roles & 50–950 ramp
primary
#D166DC
secondary
#BEE4BA
accent
#CB1B2B
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84