#D173EF#D173EF
#D173EF is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.8% C 0.195 H 317.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #D173EF |
|---|---|
| RGB | rgb(209, 115, 239) |
| HSL | hsl(285, 79%, 69%) |
| HSV | hsv(285, 52%, 94%) |
| CMYK | cmyk(12.6%, 51.9%, 0%, 6.3%) |
| CIE-LAB | lab(63.38, 56.01, -47.50) |
| CIE-LCH | lch(63.38, 73.44, 319.70°) |
| OKLab | oklab(70.78% 0.1439 -0.1321) |
| OKLCH | oklch(70.78% 0.195 317.4) |
| XYZ | xyz(48.0030, 32.0504, 85.3023) |
| Luminance | 0.3205 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.90
Easter Purple
#C071FE
ΔE00 4.57
Orchid
#DA70D6
ΔE00 5.18
Bright Lilac
#C95EFB
ΔE00 5.20
Bright Lavender
#C760FF
ΔE00 5.39
Heliotrope
#D94FF5
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D173EF #91EF73
analogous
#9373EF #D173EF #EF73CF
triadic
#D173EF #EFD173 #73EFD1
tetradic
#D173EF #EF9373 #91EF73 #73CFEF
square
#D173EF #EF9373 #91EF73 #73CFEF
split-complementary
#D173EF #CFEF73 #73EF93
monochromatic
#A318D0 #BF3CE9 #D173EF #E3AAF5 #F5E1FC
Accessibility & contrast
On white
2.83
#D173EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.41
#D173EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D173EF
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D173EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D173EF | 1.00 | 2.83 | 7.41 | 7.41 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5993F3
Deuteranopia (green-blind)
#779CEC
Tritanopia (blue-blind)
#D086A6
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #d173ef; /* rgb */ color: rgb(209, 115, 239); /* oklch */ color: oklch(70.8% 0.195 317.4);
Tailwind
colors: {
custom: {
50: '#e19ff5',
500: '#d173ef',
950: '#000000',
},
}SCSS
$custom: #d173ef; $custom-light: #e19ff5; $custom-dark: #000000;
JSON
{
"hex": "#d173ef",
"rgb": {
"r": 209,
"g": 115,
"b": 239
},
"hsl": {
"h": 285.484,
"s": 79.487,
"l": 69.412
},
"oklch": {
"l": 0.70778,
"c": 0.19534,
"h": 317.4
},
"luminance": 0.32049
}Semantic roles & 50–950 ramp
primary
#D173EF
secondary
#D6F1CD
accent
#DC0A3D
background
#FEFAFF
surface
#FCF3FE
border
#D5CDD6
text
#160F17
muted
#847F85