#D166CB#D166CB
#D166CB is a light, vivid purple. Relative luminance 0.274; OKLCH L 67.2% C 0.182 H 329.5°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #D166CB |
|---|---|
| RGB | rgb(209, 102, 203) |
| HSL | hsl(303, 54%, 61%) |
| HSV | hsv(303, 51%, 82%) |
| CMYK | cmyk(0%, 51.2%, 2.9%, 18%) |
| CIE-LAB | lab(59.32, 55.66, -33.72) |
| CIE-LCH | lch(59.32, 65.08, 328.80°) |
| OKLab | oklab(67.23% 0.1567 -0.0923) |
| OKLCH | oklch(67.23% 0.182 329.5) |
| XYZ | xyz(41.8249, 27.3724, 59.5687) |
| Luminance | 0.2737 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.04
Orchid (survey)
#C875C4
ΔE00 3.80
Purpleish Pink
#DF4EC8
ΔE00 4.15
Purplish Pink
#CE5DAE
ΔE00 5.52
Pinkish Purple
#D648D7
ΔE00 5.58
Pinky Purple
#C94CBE
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166CB #66D16C
analogous
#A166D1 #D166CB #D16695
triadic
#D166CB #CBD166 #66CBD1
tetradic
#D166CB #D1A166 #66D16C #6695D1
square
#D166CB #D1A166 #66D16C #6695D1
split-complementary
#D166CB #95D166 #66D1A1
monochromatic
#912C8B #C03AB9 #D166CB #DF95DB #EDC4EB
Accessibility & contrast
On white
3.24
#D166CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#D166CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166CB
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166CB | 1.00 | 3.24 | 6.47 | 6.47 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F86CE
Deuteranopia (green-blind)
#7F94C8
Tritanopia (blue-blind)
#D8708F
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #d166cb; /* rgb */ color: rgb(209, 102, 203); /* oklch */ color: oklch(67.2% 0.182 329.5);
Tailwind
colors: {
custom: {
50: '#e196db',
500: '#d166cb',
950: '#000000',
},
}SCSS
$custom: #d166cb; $custom-light: #e196db; $custom-dark: #000000;
JSON
{
"hex": "#d166cb",
"rgb": {
"r": 209,
"g": 102,
"b": 203
},
"hsl": {
"h": 303.364,
"s": 53.769,
"l": 60.98
},
"oklch": {
"l": 0.67233,
"c": 0.18189,
"h": 329.5
},
"luminance": 0.2737
}Semantic roles & 50–950 ramp
primary
#D166CB
secondary
#B5DEB7
accent
#C12D24
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83