#D166D3#D166D3
#D166D3 is a light, vivid purple. Relative luminance 0.278; OKLCH L 67.6% C 0.189 H 326.7°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #D166D3 |
|---|---|
| RGB | rgb(209, 102, 211) |
| HSL | hsl(299, 55%, 61%) |
| HSV | hsv(299, 52%, 83%) |
| CMYK | cmyk(0.9%, 51.7%, 0%, 17.3%) |
| CIE-LAB | lab(59.67, 57.07, -37.69) |
| CIE-LCH | lch(59.67, 68.39, 326.56°) |
| OKLab | oklab(67.61% 0.1579 -0.1036) |
| OKLCH | oklch(67.61% 0.189 326.7) |
| XYZ | xyz(42.8029, 27.7636, 64.7198) |
| Luminance | 0.2776 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.94
Orchid (survey)
#C875C4
ΔE00 4.56
Purpleish Pink
#DF4EC8
ΔE00 4.64
Pinkish Purple
#D648D7
ΔE00 5.09
Heliotrope
#D94FF5
ΔE00 6.24
Pinky Purple
#C94CBE
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166D3 #68D366
analogous
#9B66D3 #D166D3 #D3669F
triadic
#D166D3 #D3D166 #66D3D1
tetradic
#D166D3 #D39B66 #68D366 #669FD3
square
#D166D3 #D39B66 #68D366 #669FD3
split-complementary
#D166D3 #9FD366 #66D39B
monochromatic
#922B94 #C138C4 #D166D3 #DF96E1 #EEC5EE
Accessibility & contrast
On white
3.21
#D166D3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#D166D3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166D3
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166D3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166D3 | 1.00 | 3.21 | 6.55 | 6.55 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B87D7
Deuteranopia (green-blind)
#7C95D0
Tritanopia (blue-blind)
#D67293
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #d166d3; /* rgb */ color: rgb(209, 102, 211); /* oklch */ color: oklch(67.6% 0.189 326.7);
Tailwind
colors: {
custom: {
50: '#e196e1',
500: '#d166d3',
950: '#000000',
},
}SCSS
$custom: #d166d3; $custom-light: #e196e1; $custom-dark: #000000;
JSON
{
"hex": "#d166d3",
"rgb": {
"r": 209,
"g": 102,
"b": 211
},
"hsl": {
"h": 298.899,
"s": 55.33,
"l": 61.373
},
"oklch": {
"l": 0.67613,
"c": 0.18891,
"h": 326.7
},
"luminance": 0.27761
}Semantic roles & 50–950 ramp
primary
#D166D3
secondary
#B7DFB6
accent
#C32326
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83