#D17CDF#D17CDF
#D17CDF is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.3% C 0.165 H 321.8°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #D17CDF |
|---|---|
| RGB | rgb(209, 124, 223) |
| HSL | hsl(292, 61%, 68%) |
| HSV | hsv(292, 44%, 87%) |
| CMYK | cmyk(6.3%, 44.4%, 0%, 12.5%) |
| CIE-LAB | lab(64.40, 48.32, -37.02) |
| CIE-LCH | lch(64.40, 60.87, 322.54°) |
| OKLab | oklab(71.29% 0.1294 -0.1019) |
| OKLCH | oklch(71.29% 0.165 321.8) |
| XYZ | xyz(46.8199, 33.3002, 73.7590) |
| Luminance | 0.3330 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.39
Lavender Pink
#DD85D7
ΔE00 4.37
Orchid (survey)
#C875C4
ΔE00 4.83
Violet (CSS)
#EE82EE
ΔE00 5.09
Purply Pink
#F075E6
ΔE00 5.15
Light Purple
#BF77F6
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17CDF #8ADF7C
analogous
#9F7CDF #D17CDF #DF7CBB
triadic
#D17CDF #DFD17C #7CDFD1
tetradic
#D17CDF #DF9F7C #8ADF7C #7CBBDF
square
#D17CDF #DF9F7C #8ADF7C #7CBBDF
split-complementary
#D17CDF #BBDF7C #7CDF9F
monochromatic
#A12CB5 #C04BD3 #D17CDF #E2ADEB #F4DEF7
Accessibility & contrast
On white
2.74
#D17CDF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#D17CDF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17CDF
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17CDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17CDF | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F96E2
Deuteranopia (green-blind)
#86A0DC
Tritanopia (blue-blind)
#D388A3
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #d17cdf; /* rgb */ color: rgb(209, 124, 223); /* oklch */ color: oklch(71.3% 0.165 321.8);
Tailwind
colors: {
custom: {
50: '#e1a4e9',
500: '#d17cdf',
950: '#000000',
},
}SCSS
$custom: #d17cdf; $custom-light: #e1a4e9; $custom-dark: #000000;
JSON
{
"hex": "#d17cdf",
"rgb": {
"r": 209,
"g": 124,
"b": 223
},
"hsl": {
"h": 291.515,
"s": 60.736,
"l": 68.039
},
"oklch": {
"l": 0.71293,
"c": 0.16473,
"h": 321.8
},
"luminance": 0.33298
}Semantic roles & 50–950 ramp
primary
#D17CDF
secondary
#D1EBCC
accent
#C81D35
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F16
muted
#847F84