#D166D0#D166D0
#D166D0 is a light, vivid purple. Relative luminance 0.276; OKLCH L 67.5% C 0.186 H 327.7°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #D166D0 |
|---|---|
| RGB | rgb(209, 102, 208) |
| HSL | hsl(301, 54%, 61%) |
| HSV | hsv(301, 51%, 82%) |
| CMYK | cmyk(0%, 51.2%, 0.5%, 18%) |
| CIE-LAB | lab(59.54, 56.54, -36.20) |
| CIE-LCH | lch(59.54, 67.13, 327.37°) |
| OKLab | oklab(67.47% 0.1575 -0.0994) |
| OKLCH | oklch(67.47% 0.186 327.7) |
| XYZ | xyz(42.4304, 27.6146, 62.7575) |
| Luminance | 0.2761 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.90
Orchid (survey)
#C875C4
ΔE00 4.23
Purpleish Pink
#DF4EC8
ΔE00 4.40
Pinkish Purple
#D648D7
ΔE00 5.22
Pinky Purple
#C94CBE
ΔE00 6.15
Purplish Pink
#CE5DAE
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166D0 #66D167
analogous
#9C66D1 #D166D0 #D1669A
triadic
#D166D0 #D0D166 #66D0D1
tetradic
#D166D0 #D19C66 #66D167 #669AD1
square
#D166D0 #D19C66 #66D167 #669AD1
split-complementary
#D166D0 #9AD166 #66D19C
monochromatic
#912C90 #C03ABF #D166D0 #DF95DE #EDC4ED
Accessibility & contrast
On white
3.22
#D166D0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#D166D0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166D0
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166D0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166D0 | 1.00 | 3.22 | 6.52 | 6.52 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C86D3
Deuteranopia (green-blind)
#7D94CD
Tritanopia (blue-blind)
#D77292
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #d166d0; /* rgb */ color: rgb(209, 102, 208); /* oklch */ color: oklch(67.5% 0.186 327.7);
Tailwind
colors: {
custom: {
50: '#e196de',
500: '#d166d0',
950: '#000000',
},
}SCSS
$custom: #d166d0; $custom-light: #e196de; $custom-dark: #000000;
JSON
{
"hex": "#d166d0",
"rgb": {
"r": 209,
"g": 102,
"b": 208
},
"hsl": {
"h": 300.561,
"s": 53.769,
"l": 60.98
},
"oklch": {
"l": 0.67469,
"c": 0.18625,
"h": 327.7
},
"luminance": 0.27612
}Semantic roles & 50–950 ramp
primary
#D166D0
secondary
#B5DEB6
accent
#C12624
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83