#D17CD6#D17CD6
#D17CD6 is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.9% C 0.156 H 325.1°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #D17CD6 |
|---|---|
| RGB | rgb(209, 124, 214) |
| HSL | hsl(297, 52%, 66%) |
| HSV | hsv(297, 42%, 84%) |
| CMYK | cmyk(2.3%, 42.1%, 0%, 16.1%) |
| CIE-LAB | lab(64.02, 46.61, -32.60) |
| CIE-LCH | lch(64.02, 56.88, 325.03°) |
| OKLab | oklab(70.88% 0.1277 -0.0893) |
| OKLCH | oklch(70.88% 0.156 325.1) |
| XYZ | xyz(45.6387, 32.8277, 67.5377) |
| Luminance | 0.3283 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.87
Lavender Pink
#DD85D7
ΔE00 3.34
Orchid (survey)
#C875C4
ΔE00 3.42
Purply Pink
#F075E6
ΔE00 5.16
Violet (CSS)
#EE82EE
ΔE00 5.40
Candy Pink
#FF63E9
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17CD6 #81D67C
analogous
#A47CD6 #D17CD6 #D67CAE
triadic
#D17CD6 #D6D17C #7CD6D1
tetradic
#D17CD6 #D6A47C #81D67C #7CAED6
square
#D17CD6 #D6A47C #81D67C #7CAED6
split-complementary
#D17CD6 #AED67C #7CD6A4
monochromatic
#9E33A4 #C14DC7 #D17CD6 #E1ABE5 #F2D9F3
Accessibility & contrast
On white
2.78
#D17CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#D17CD6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17CD6
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17CD6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17CD6 | 1.00 | 2.78 | 7.57 | 7.57 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7394D9
Deuteranopia (green-blind)
#8A9FD3
Tritanopia (blue-blind)
#D5869F
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #d17cd6; /* rgb */ color: rgb(209, 124, 214); /* oklch */ color: oklch(70.9% 0.156 325.1);
Tailwind
colors: {
custom: {
50: '#e1a4e3',
500: '#d17cd6',
950: '#000000',
},
}SCSS
$custom: #d17cd6; $custom-light: #e1a4e3; $custom-dark: #000000;
JSON
{
"hex": "#d17cd6",
"rgb": {
"r": 209,
"g": 124,
"b": 214
},
"hsl": {
"h": 296.667,
"s": 52.326,
"l": 66.275
},
"oklch": {
"l": 0.70882,
"c": 0.15583,
"h": 325.1
},
"luminance": 0.32826
}Semantic roles & 50–950 ramp
primary
#D17CD6
secondary
#CAE6C8
accent
#C0262E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83