#D173DC#D173DC
#D173DC is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.8% C 0.177 H 323.3°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #D173DC |
|---|---|
| RGB | rgb(209, 115, 220) |
| HSL | hsl(294, 60%, 66%) |
| HSV | hsv(294, 48%, 86%) |
| CMYK | cmyk(5%, 47.7%, 0%, 13.7%) |
| CIE-LAB | lab(62.50, 52.34, -38.33) |
| CIE-LCH | lch(62.50, 64.87, 323.78°) |
| OKLab | oklab(69.83% 0.1415 -0.1056) |
| OKLCH | oklch(69.83% 0.177 323.3) |
| XYZ | xyz(45.3422, 30.9861, 71.2888) |
| Luminance | 0.3098 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.30
Orchid (survey)
#C875C4
ΔE00 4.40
Purply Pink
#F075E6
ΔE00 5.27
Lavender Pink
#DD85D7
ΔE00 5.59
Violet (CSS)
#EE82EE
ΔE00 6.10
Light Purple
#BF77F6
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D173DC #7EDC73
analogous
#9C73DC #D173DC #DC73B2
triadic
#D173DC #DCD173 #73DCD1
tetradic
#D173DC #DC9C73 #7EDC73 #73B2DC
square
#D173DC #DC9C73 #7EDC73 #73B2DC
split-complementary
#D173DC #B2DC73 #73DC9C
monochromatic
#9D2BAA #C142D0 #D173DC #E1A4E8 #F1D5F4
Accessibility & contrast
On white
2.92
#D173DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#D173DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D173DC
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D173DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D173DC | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6590E0
Deuteranopia (green-blind)
#819BD9
Tritanopia (blue-blind)
#D4809D
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #d173dc; /* rgb */ color: rgb(209, 115, 220); /* oklch */ color: oklch(69.8% 0.177 323.3);
Tailwind
colors: {
custom: {
50: '#e19ee7',
500: '#d173dc',
950: '#000000',
},
}SCSS
$custom: #d173dc; $custom-light: #e19ee7; $custom-dark: #000000;
JSON
{
"hex": "#d173dc",
"rgb": {
"r": 209,
"g": 115,
"b": 220
},
"hsl": {
"h": 293.714,
"s": 60,
"l": 65.686
},
"oklch": {
"l": 0.69831,
"c": 0.17658,
"h": 323.3
},
"luminance": 0.30984
}Semantic roles & 50–950 ramp
primary
#D173DC
secondary
#C8E7C4
accent
#C81E30
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160F16
muted
#847E84