#D17FCD#D17FCD
#D17FCD is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.0% C 0.142 H 328.7°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #D17FCD |
|---|---|
| RGB | rgb(209, 127, 205) |
| HSL | hsl(303, 47%, 66%) |
| HSV | hsv(303, 39%, 82%) |
| CMYK | cmyk(0%, 39.2%, 1.9%, 18%) |
| CIE-LAB | lab(64.28, 43.39, -27.16) |
| CIE-LCH | lch(64.28, 51.19, 327.95°) |
| OKLab | oklab(70.96% 0.1214 -0.0738) |
| OKLCH | oklch(70.96% 0.142 328.7) |
| XYZ | xyz(44.9026, 33.1439, 61.7780) |
| Luminance | 0.3314 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.60
Orchid (survey)
#C875C4
ΔE00 2.99
Orchid
#DA70D6
ΔE00 4.04
Purply Pink
#F075E6
ΔE00 5.99
Violet (CSS)
#EE82EE
ΔE00 6.21
Pale Magenta
#D767AD
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17FCD #7FD183
analogous
#AC7FD1 #D17FCD #D17FA4
triadic
#D17FCD #CDD17F #7FCDD1
tetradic
#D17FCD #D1AC7F #7FD183 #7FA4D1
square
#D17FCD #D1AC7F #7FD183 #7FA4D1
split-complementary
#D17FCD #A4D17F #7FD1AC
monochromatic
#9D3898 #C152BB #D17FCD #E1ACDF #F1D9F0
Accessibility & contrast
On white
2.75
#D17FCD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.63
#D17FCD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17FCD
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17FCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17FCD | 1.00 | 2.75 | 7.63 | 7.63 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A95D0
Deuteranopia (green-blind)
#90A0CA
Tritanopia (blue-blind)
#D6869D
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #d17fcd; /* rgb */ color: rgb(209, 127, 205); /* oklch */ color: oklch(71.0% 0.142 328.7);
Tailwind
colors: {
custom: {
50: '#e0a6dc',
500: '#d17fcd',
950: '#000000',
},
}SCSS
$custom: #d17fcd; $custom-light: #e0a6dc; $custom-dark: #000000;
JSON
{
"hex": "#d17fcd",
"rgb": {
"r": 209,
"g": 127,
"b": 205
},
"hsl": {
"h": 302.927,
"s": 47.126,
"l": 65.882
},
"oklch": {
"l": 0.70955,
"c": 0.14209,
"h": 328.7
},
"luminance": 0.33142
}Semantic roles & 50–950 ramp
primary
#D17FCD
secondary
#C8E3CA
accent
#BA322B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83