#D17CD2#D17CD2
#D17CD2 is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.7% C 0.152 H 326.6°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #D17CD2 |
|---|---|
| RGB | rgb(209, 124, 210) |
| HSL | hsl(299, 49%, 65%) |
| HSV | hsv(299, 41%, 82%) |
| CMYK | cmyk(0.5%, 41%, 0%, 17.6%) |
| CIE-LAB | lab(63.86, 45.87, -30.61) |
| CIE-LCH | lch(63.86, 55.15, 326.28°) |
| OKLab | oklab(70.71% 0.1269 -0.0836) |
| OKLCH | oklch(70.71% 0.152 326.6) |
| XYZ | xyz(45.1341, 32.6258, 64.8803) |
| Luminance | 0.3262 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.90
Orchid
#DA70D6
ΔE00 2.96
Lavender Pink
#DD85D7
ΔE00 3.07
Purply Pink
#F075E6
ΔE00 5.35
Violet (CSS)
#EE82EE
ΔE00 5.71
Candy Pink
#FF63E9
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17CD2 #7DD27C
analogous
#A67CD2 #D17CD2 #D27CA8
triadic
#D17CD2 #D2D17C #7CD2D1
tetradic
#D17CD2 #D2A67C #7DD27C #7CA8D2
square
#D17CD2 #D2A67C #7DD27C #7CA8D2
split-complementary
#D17CD2 #A8D27C #7CD2A6
monochromatic
#9C369D #C14EC2 #D17CD2 #E1AAE2 #F1D7F1
Accessibility & contrast
On white
2.79
#D17CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#D17CD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17CD2
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17CD2 | 1.00 | 2.79 | 7.52 | 7.52 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7594D5
Deuteranopia (green-blind)
#8C9FCF
Tritanopia (blue-blind)
#D6859D
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #d17cd2; /* rgb */ color: rgb(209, 124, 210); /* oklch */ color: oklch(70.7% 0.152 326.6);
Tailwind
colors: {
custom: {
50: '#e1a4e0',
500: '#d17cd2',
950: '#000000',
},
}SCSS
$custom: #d17cd2; $custom-light: #e1a4e0; $custom-dark: #000000;
JSON
{
"hex": "#d17cd2",
"rgb": {
"r": 209,
"g": 124,
"b": 210
},
"hsl": {
"h": 299.302,
"s": 48.864,
"l": 65.49
},
"oklch": {
"l": 0.70705,
"c": 0.15198,
"h": 326.6
},
"luminance": 0.32624
}Semantic roles & 50–950 ramp
primary
#D17CD2
secondary
#C7E3C6
accent
#BC292B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83