#D170DB#D170DB
#D170DB is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.4% C 0.180 H 323.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #D170DB |
|---|---|
| RGB | rgb(209, 112, 219) |
| HSL | hsl(294, 60%, 65%) |
| HSV | hsv(294, 49%, 86%) |
| CMYK | cmyk(4.6%, 48.9%, 0%, 14.1%) |
| CIE-LAB | lab(61.88, 53.65, -38.74) |
| CIE-LCH | lch(61.88, 66.17, 324.17°) |
| OKLab | oklab(69.36% 0.1455 -0.1067) |
| OKLCH | oklch(69.36% 0.18 323.7) |
| XYZ | xyz(44.8736, 30.2602, 70.4812) |
| Luminance | 0.3026 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.25
Orchid (survey)
#C875C4
ΔE00 4.43
Purply Pink
#F075E6
ΔE00 5.48
Lavender Pink
#DD85D7
ΔE00 6.08
Violet (CSS)
#EE82EE
ΔE00 6.53
Light Purple
#BF77F6
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D170DB #7ADB70
analogous
#9C70DB #D170DB #DB70AF
triadic
#D170DB #DBD170 #70DBD1
tetradic
#D170DB #DB9C70 #7ADB70 #70AFDB
square
#D170DB #DB9C70 #7ADB70 #70AFDB
split-complementary
#D170DB #AFDB70 #70DB9C
monochromatic
#9B2AA7 #C13FCF #D170DB #E1A1E7 #F0D2F4
Accessibility & contrast
On white
2.98
#D170DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#D170DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D170DB
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D170DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D170DB | 1.00 | 2.98 | 7.05 | 7.05 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#628EDF
Deuteranopia (green-blind)
#7F9AD8
Tritanopia (blue-blind)
#D47D9C
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #d170db; /* rgb */ color: rgb(209, 112, 219); /* oklch */ color: oklch(69.4% 0.180 323.7);
Tailwind
colors: {
custom: {
50: '#e19ce6',
500: '#d170db',
950: '#000000',
},
}SCSS
$custom: #d170db; $custom-light: #e19ce6; $custom-dark: #000000;
JSON
{
"hex": "#d170db",
"rgb": {
"r": 209,
"g": 112,
"b": 219
},
"hsl": {
"h": 294.393,
"s": 59.777,
"l": 64.902
},
"oklch": {
"l": 0.69359,
"c": 0.18046,
"h": 323.7
},
"luminance": 0.30258
}Semantic roles & 50–950 ramp
primary
#D170DB
secondary
#C5E6C1
accent
#C71E2E
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84