#D17CDC#D17CDC
#D17CDC is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.2% C 0.162 H 322.8°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #D17CDC |
|---|---|
| RGB | rgb(209, 124, 220) |
| HSL | hsl(293, 58%, 67%) |
| HSV | hsv(293, 44%, 86%) |
| CMYK | cmyk(5%, 43.6%, 0%, 13.7%) |
| CIE-LAB | lab(64.27, 47.74, -35.55) |
| CIE-LCH | lch(64.27, 59.53, 323.32°) |
| OKLab | oklab(71.15% 0.1289 -0.0977) |
| OKLCH | oklch(71.15% 0.162 322.8) |
| XYZ | xyz(46.4191, 33.1398, 71.6478) |
| Luminance | 0.3314 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.12
Lavender Pink
#DD85D7
ΔE00 3.98
Orchid (survey)
#C875C4
ΔE00 4.34
Purply Pink
#F075E6
ΔE00 5.09
Violet (CSS)
#EE82EE
ΔE00 5.13
Light Purple
#BF77F6
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17CDC #87DC7C
analogous
#A17CDC #D17CDC #DC7CB7
triadic
#D17CDC #DCD17C #7CDCD1
tetradic
#D17CDC #DCA17C #87DC7C #7CB7DC
square
#D17CDC #DCA17C #87DC7C #7CB7DC
split-complementary
#D17CDC #B7DC7C #7CDCA1
monochromatic
#A02FAF #C04CCF #D17CDC #E2ACE9 #F3DDF6
Accessibility & contrast
On white
2.75
#D17CDC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.63
#D17CDC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17CDC
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17CDC | 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)
#7095DF
Deuteranopia (green-blind)
#889FD9
Tritanopia (blue-blind)
#D487A2
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #d17cdc; /* rgb */ color: rgb(209, 124, 220); /* oklch */ color: oklch(71.2% 0.162 322.8);
Tailwind
colors: {
custom: {
50: '#e1a4e7',
500: '#d17cdc',
950: '#000000',
},
}SCSS
$custom: #d17cdc; $custom-light: #e1a4e7; $custom-dark: #000000;
JSON
{
"hex": "#d17cdc",
"rgb": {
"r": 209,
"g": 124,
"b": 220
},
"hsl": {
"h": 293.125,
"s": 57.831,
"l": 67.451
},
"oklch": {
"l": 0.71154,
"c": 0.16173,
"h": 322.8
},
"luminance": 0.33138
}Semantic roles & 50–950 ramp
primary
#D17CDC
secondary
#CEE9CB
accent
#C52033
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#150F16
muted
#847F84