#D17CD3#D17CD3
#D17CD3 is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.7% C 0.153 H 326.2°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #D17CD3 |
|---|---|
| RGB | rgb(209, 124, 211) |
| HSL | hsl(299, 50%, 66%) |
| HSV | hsv(299, 41%, 83%) |
| CMYK | cmyk(0.9%, 41.2%, 0%, 17.3%) |
| CIE-LAB | lab(63.90, 46.06, -31.11) |
| CIE-LCH | lch(63.90, 55.58, 325.96°) |
| OKLab | oklab(70.75% 0.1271 -0.085) |
| OKLCH | oklch(70.75% 0.153 326.2) |
| XYZ | xyz(45.2591, 32.6758, 65.5385) |
| Luminance | 0.3267 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.92
Orchid (survey)
#C875C4
ΔE00 3.02
Lavender Pink
#DD85D7
ΔE00 3.12
Purply Pink
#F075E6
ΔE00 5.29
Violet (CSS)
#EE82EE
ΔE00 5.62
Candy Pink
#FF63E9
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17CD3 #7ED37C
analogous
#A57CD3 #D17CD3 #D37CA9
triadic
#D17CD3 #D3D17C #7CD3D1
tetradic
#D17CD3 #D3A57C #7ED37C #7CA9D3
square
#D17CD3 #D3A57C #7ED37C #7CA9D3
split-complementary
#D17CD3 #A9D37C #7CD3A5
monochromatic
#9D359F #C14EC4 #D17CD3 #E1AAE2 #F1D8F2
Accessibility & contrast
On white
2.79
#D17CD3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#D17CD3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17CD3
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17CD3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17CD3 | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7494D6
Deuteranopia (green-blind)
#8B9FD0
Tritanopia (blue-blind)
#D5859E
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #d17cd3; /* rgb */ color: rgb(209, 124, 211); /* oklch */ color: oklch(70.7% 0.153 326.2);
Tailwind
colors: {
custom: {
50: '#e1a4e0',
500: '#d17cd3',
950: '#000000',
},
}SCSS
$custom: #d17cd3; $custom-light: #e1a4e0; $custom-dark: #000000;
JSON
{
"hex": "#d17cd3",
"rgb": {
"r": 209,
"g": 124,
"b": 211
},
"hsl": {
"h": 298.621,
"s": 49.714,
"l": 65.686
},
"oklch": {
"l": 0.70749,
"c": 0.15293,
"h": 326.2
},
"luminance": 0.32674
}Semantic roles & 50–950 ramp
primary
#D17CD3
secondary
#C8E4C7
accent
#BD282C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83