#D171DB#D171DB
#D171DB is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.5% C 0.179 H 323.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #D171DB |
|---|---|
| RGB | rgb(209, 113, 219) |
| HSL | hsl(294, 60%, 65%) |
| HSV | hsv(294, 48%, 86%) |
| CMYK | cmyk(4.6%, 48.4%, 0%, 14.1%) |
| CIE-LAB | lab(62.07, 53.15, -38.44) |
| CIE-LCH | lch(62.07, 65.60, 324.13°) |
| OKLab | oklab(69.5% 0.1441 -0.1059) |
| OKLCH | oklch(69.5% 0.179 323.7) |
| XYZ | xyz(44.9846, 30.4821, 70.5182) |
| Luminance | 0.3048 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.20
Orchid (survey)
#C875C4
ΔE00 4.36
Purply Pink
#F075E6
ΔE00 5.39
Lavender Pink
#DD85D7
ΔE00 5.89
Violet (CSS)
#EE82EE
ΔE00 6.39
Light Purple
#BF77F6
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D171DB #7BDB71
analogous
#9C71DB #D171DB #DB71B0
triadic
#D171DB #DBD171 #71DBD1
tetradic
#D171DB #DB9C71 #7BDB71 #71B0DB
square
#D171DB #DB9C71 #7BDB71 #71B0DB
split-complementary
#D171DB #B0DB71 #71DB9C
monochromatic
#9B2AA7 #C140CF #D171DB #E1A2E7 #F1D3F4
Accessibility & contrast
On white
2.96
#D171DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#D171DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D171DB
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D171DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D171DB | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#638FDF
Deuteranopia (green-blind)
#809AD8
Tritanopia (blue-blind)
#D47E9C
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #d171db; /* rgb */ color: rgb(209, 113, 219); /* oklch */ color: oklch(69.5% 0.179 323.7);
Tailwind
colors: {
custom: {
50: '#e19de6',
500: '#d171db',
950: '#000000',
},
}SCSS
$custom: #d171db; $custom-light: #e19de6; $custom-dark: #000000;
JSON
{
"hex": "#d171db",
"rgb": {
"r": 209,
"g": 113,
"b": 219
},
"hsl": {
"h": 294.34,
"s": 59.551,
"l": 65.098
},
"oklch": {
"l": 0.69499,
"c": 0.17885,
"h": 323.7
},
"luminance": 0.3048
}Semantic roles & 50–950 ramp
primary
#D171DB
secondary
#C5E6C2
accent
#C71E2E
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84