#D173EC#D173EC
#D173EC is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.6% C 0.192 H 318.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #D173EC |
|---|---|
| RGB | rgb(209, 115, 236) |
| HSL | hsl(287, 76%, 69%) |
| HSV | hsv(287, 51%, 93%) |
| CMYK | cmyk(11.4%, 51.3%, 0%, 7.5%) |
| CIE-LAB | lab(63.24, 55.41, -46.07) |
| CIE-LCH | lch(63.24, 72.06, 320.26°) |
| OKLab | oklab(70.62% 0.1436 -0.1279) |
| OKLCH | oklch(70.62% 0.192 318.3) |
| XYZ | xyz(47.5635, 31.8746, 82.9876) |
| Luminance | 0.3187 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.23
Orchid
#DA70D6
ΔE00 4.72
Easter Purple
#C071FE
ΔE00 4.96
Bright Lilac
#C95EFB
ΔE00 5.46
Bright Lavender
#C760FF
ΔE00 5.69
Heliotrope
#D94FF5
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D173EC #8EEC73
analogous
#9573EC #D173EC #EC73CB
triadic
#D173EC #ECD173 #73ECD1
tetradic
#D173EC #EC9573 #8EEC73 #73CBEC
square
#D173EC #EC9573 #8EEC73 #73CBEC
split-complementary
#D173EC #CBEC73 #73EC95
monochromatic
#A21BC9 #BF3DE5 #D173EC #E3A9F3 #F4DFFB
Accessibility & contrast
On white
2.85
#D173EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#D173EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D173EC
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D173EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D173EC | 1.00 | 2.85 | 7.37 | 7.37 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B93F0
Deuteranopia (green-blind)
#799CE9
Tritanopia (blue-blind)
#D185A5
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #d173ec; /* rgb */ color: rgb(209, 115, 236); /* oklch */ color: oklch(70.6% 0.192 318.3);
Tailwind
colors: {
custom: {
50: '#e19ef2',
500: '#d173ec',
950: '#000000',
},
}SCSS
$custom: #d173ec; $custom-light: #e19ef2; $custom-dark: #000000;
JSON
{
"hex": "#d173ec",
"rgb": {
"r": 209,
"g": 115,
"b": 236
},
"hsl": {
"h": 286.612,
"s": 76.101,
"l": 68.824
},
"oklch": {
"l": 0.70623,
"c": 0.19233,
"h": 318.3
},
"luminance": 0.31873
}Semantic roles & 50–950 ramp
primary
#D173EC
secondary
#D3EFCC
accent
#D80D3B
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85