#D17DCC#D17DCC
#D17DCC is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.6% C 0.145 H 329.1°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #D17DCC |
|---|---|
| RGB | rgb(209, 125, 204) |
| HSL | hsl(304, 48%, 65%) |
| HSV | hsv(304, 40%, 82%) |
| CMYK | cmyk(0%, 40.2%, 2.4%, 18%) |
| CIE-LAB | lab(63.82, 44.26, -27.30) |
| CIE-LCH | lch(63.82, 52.01, 328.33°) |
| OKLab | oklab(70.6% 0.1241 -0.0742) |
| OKLCH | oklch(70.6% 0.145 329.1) |
| XYZ | xyz(44.5265, 32.5843, 61.0591) |
| Luminance | 0.3258 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.60
Lavender Pink
#DD85D7
ΔE00 2.90
Orchid
#DA70D6
ΔE00 3.71
Purply Pink
#F075E6
ΔE00 5.92
Violet (CSS)
#EE82EE
ΔE00 6.34
Pale Magenta
#D767AD
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17DCC #7DD182
analogous
#AC7DD1 #D17DCC #D17DA2
triadic
#D17DCC #CCD17D #7DCCD1
tetradic
#D17DCC #D1AC7D #7DD182 #7DA2D1
square
#D17DCC #D1AC7D #7DD182 #7DA2D1
split-complementary
#D17DCC #A2D17D #7DD1AC
monochromatic
#9C3796 #C150BA #D17DCC #E1AADE #F1D7EF
Accessibility & contrast
On white
2.79
#D17DCC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#D17DCC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17DCC
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17DCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17DCC | 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)
#7894CF
Deuteranopia (green-blind)
#8F9FC9
Tritanopia (blue-blind)
#D7849B
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #d17dcc; /* rgb */ color: rgb(209, 125, 204); /* oklch */ color: oklch(70.6% 0.145 329.1);
Tailwind
colors: {
custom: {
50: '#e0a4db',
500: '#d17dcc',
950: '#000000',
},
}SCSS
$custom: #d17dcc; $custom-light: #e0a4db; $custom-dark: #000000;
JSON
{
"hex": "#d17dcc",
"rgb": {
"r": 209,
"g": 125,
"b": 204
},
"hsl": {
"h": 303.571,
"s": 47.727,
"l": 65.49
},
"oklch": {
"l": 0.70601,
"c": 0.14462,
"h": 329.1
},
"luminance": 0.32582
}Semantic roles & 50–950 ramp
primary
#D17DCC
secondary
#C7E3C9
accent
#BB332B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83