#D173CD#D173CD
#D173CD is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.1% C 0.163 H 328.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #D173CD |
|---|---|
| RGB | rgb(209, 115, 205) |
| HSL | hsl(303, 51%, 64%) |
| HSV | hsv(303, 45%, 82%) |
| CMYK | cmyk(0%, 45%, 1.9%, 18%) |
| CIE-LAB | lab(61.85, 49.60, -30.91) |
| CIE-LCH | lch(61.85, 58.44, 328.06°) |
| OKLab | oklab(69.14% 0.1389 -0.0844) |
| OKLCH | oklch(69.14% 0.163 328.7) |
| XYZ | xyz(43.4440, 30.2269, 61.2918) |
| Luminance | 0.3023 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.94
Orchid (survey)
#C875C4
ΔE00 2.04
Lavender Pink
#DD85D7
ΔE00 4.73
Purply Pink
#F075E6
ΔE00 5.64
Purpleish Pink
#DF4EC8
ΔE00 6.68
Violet (CSS)
#EE82EE
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D173CD #73D177
analogous
#A673D1 #D173CD #D1739E
triadic
#D173CD #CDD173 #73CDD1
tetradic
#D173CD #D1A673 #73D177 #739ED1
square
#D173CD #D1A673 #73D177 #739ED1
split-complementary
#D173CD #9ED173 #73D1A6
monochromatic
#983293 #C245BD #D173CD #E0A1DD #EFCFEE
Accessibility & contrast
On white
2.98
#D173CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#D173CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D173CD
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D173CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D173CD | 1.00 | 2.98 | 7.05 | 7.05 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D8DD0
Deuteranopia (green-blind)
#879ACA
Tritanopia (blue-blind)
#D77B96
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #d173cd; /* rgb */ color: rgb(209, 115, 205); /* oklch */ color: oklch(69.1% 0.163 328.7);
Tailwind
colors: {
custom: {
50: '#e19edc',
500: '#d173cd',
950: '#000000',
},
}SCSS
$custom: #d173cd; $custom-light: #e19edc; $custom-dark: #000000;
JSON
{
"hex": "#d173cd",
"rgb": {
"r": 209,
"g": 115,
"b": 205
},
"hsl": {
"h": 302.553,
"s": 50.538,
"l": 63.529
},
"oklch": {
"l": 0.69139,
"c": 0.16252,
"h": 328.7
},
"luminance": 0.30225
}Semantic roles & 50–950 ramp
primary
#D173CD
secondary
#BFE1C1
accent
#BE2E28
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#150F15
muted
#847E83