#D173ED#D173ED
#D173ED is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.7% C 0.193 H 318.0°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #D173ED |
|---|---|
| RGB | rgb(209, 115, 237) |
| HSL | hsl(286, 77%, 69%) |
| HSV | hsv(286, 51%, 93%) |
| CMYK | cmyk(11.8%, 51.5%, 0%, 7.1%) |
| CIE-LAB | lab(63.29, 55.61, -46.55) |
| CIE-LCH | lch(63.29, 72.52, 320.07°) |
| OKLab | oklab(70.68% 0.1437 -0.1293) |
| OKLCH | oklch(70.68% 0.193 318) |
| XYZ | xyz(47.7092, 31.9329, 83.7549) |
| Luminance | 0.3193 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.11
Easter Purple
#C071FE
ΔE00 4.83
Orchid
#DA70D6
ΔE00 4.87
Bright Lilac
#C95EFB
ΔE00 5.37
Bright Lavender
#C760FF
ΔE00 5.59
Heliotrope
#D94FF5
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D173ED #8FED73
analogous
#9473ED #D173ED #ED73CC
triadic
#D173ED #EDD173 #73EDD1
tetradic
#D173ED #ED9473 #8FED73 #73CCED
square
#D173ED #ED9473 #8FED73 #73CCED
split-complementary
#D173ED #CCED73 #73ED94
monochromatic
#A31ACB #BF3DE6 #D173ED #E3A9F4 #F5DFFB
Accessibility & contrast
On white
2.84
#D173ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#D173ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D173ED
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D173ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D173ED | 1.00 | 2.84 | 7.39 | 7.39 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B93F1
Deuteranopia (green-blind)
#789CEA
Tritanopia (blue-blind)
#D185A6
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #d173ed; /* rgb */ color: rgb(209, 115, 237); /* oklch */ color: oklch(70.7% 0.193 318.0);
Tailwind
colors: {
custom: {
50: '#e19ef3',
500: '#d173ed',
950: '#000000',
},
}SCSS
$custom: #d173ed; $custom-light: #e19ef3; $custom-dark: #000000;
JSON
{
"hex": "#d173ed",
"rgb": {
"r": 209,
"g": 115,
"b": 237
},
"hsl": {
"h": 286.23,
"s": 77.215,
"l": 69.02
},
"oklch": {
"l": 0.70675,
"c": 0.19334,
"h": 318
},
"luminance": 0.31931
}Semantic roles & 50–950 ramp
primary
#D173ED
secondary
#D4F0CC
accent
#D90C3B
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85