#D170DE#D170DE
#D170DE is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.5% C 0.183 H 322.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #D170DE |
|---|---|
| RGB | rgb(209, 112, 222) |
| HSL | hsl(293, 63%, 65%) |
| HSV | hsv(293, 50%, 87%) |
| CMYK | cmyk(5.9%, 49.5%, 0%, 12.9%) |
| CIE-LAB | lab(62.01, 54.21, -40.20) |
| CIE-LCH | lch(62.01, 67.49, 323.44°) |
| OKLab | oklab(69.5% 0.1459 -0.111) |
| OKLCH | oklch(69.5% 0.183 322.7) |
| XYZ | xyz(45.2721, 30.4196, 72.5800) |
| Luminance | 0.3042 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.66
Orchid (survey)
#C875C4
ΔE00 4.92
Purply Pink
#F075E6
ΔE00 5.56
Light Purple
#BF77F6
ΔE00 6.15
Lavender Pink
#DD85D7
ΔE00 6.34
Light Magenta
#FA5FF7
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D170DE #7DDE70
analogous
#9A70DE #D170DE #DE70B4
triadic
#D170DE #DED170 #70DED1
tetradic
#D170DE #DE9A70 #7DDE70 #70B4DE
square
#D170DE #DE9A70 #7DDE70 #70B4DE
split-complementary
#D170DE #B4DE70 #70DE9A
monochromatic
#9C28AC #C13ED3 #D170DE #E1A2E9 #F1D3F5
Accessibility & contrast
On white
2.96
#D170DE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.08
#D170DE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D170DE
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D170DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D170DE | 1.00 | 2.96 | 7.08 | 7.08 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#608FE2
Deuteranopia (green-blind)
#7E9ADB
Tritanopia (blue-blind)
#D47E9D
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #d170de; /* rgb */ color: rgb(209, 112, 222); /* oklch */ color: oklch(69.5% 0.183 322.7);
Tailwind
colors: {
custom: {
50: '#e19ce8',
500: '#d170de',
950: '#000000',
},
}SCSS
$custom: #d170de; $custom-light: #e19ce8; $custom-dark: #000000;
JSON
{
"hex": "#d170de",
"rgb": {
"r": 209,
"g": 112,
"b": 222
},
"hsl": {
"h": 292.909,
"s": 62.5,
"l": 65.49
},
"oklch": {
"l": 0.69504,
"c": 0.18333,
"h": 322.7
},
"luminance": 0.30418
}Semantic roles & 50–950 ramp
primary
#D170DE
secondary
#C7E7C2
accent
#CA1B30
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84