#D173F2#D173F2
#D173F2 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.9% C 0.198 H 316.6°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #D173F2 |
|---|---|
| RGB | rgb(209, 115, 242) |
| HSL | hsl(284, 83%, 70%) |
| HSV | hsv(284, 52%, 95%) |
| CMYK | cmyk(13.6%, 52.5%, 0%, 5.1%) |
| CIE-LAB | lab(63.53, 56.60, -48.93) |
| CIE-LCH | lch(63.53, 74.82, 319.16°) |
| OKLab | oklab(70.94% 0.1442 -0.1362) |
| OKLCH | oklch(70.94% 0.198 316.6) |
| XYZ | xyz(48.4499, 32.2292, 87.6559) |
| Luminance | 0.3223 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.62
Easter Purple
#C071FE
ΔE00 4.20
Bright Lilac
#C95EFB
ΔE00 4.98
Bright Lavender
#C760FF
ΔE00 5.11
Orchid
#DA70D6
ΔE00 5.64
Light Urple
#B36FF6
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D173F2 #94F273
analogous
#9173F2 #D173F2 #F273D4
triadic
#D173F2 #F2D173 #73F2D1
tetradic
#D173F2 #F29173 #94F273 #73D4F2
square
#D173F2 #F29173 #94F273 #73D4F2
split-complementary
#D173F2 #D4F273 #73F291
monochromatic
#A414D7 #BF3BED #D173F2 #E3ABF7 #F6E3FC
Accessibility & contrast
On white
2.82
#D173F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.45
#D173F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D173F2
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D173F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D173F2 | 1.00 | 2.82 | 7.45 | 7.45 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#D087A8
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #d173f2; /* rgb */ color: rgb(209, 115, 242); /* oklch */ color: oklch(70.9% 0.198 316.6);
Tailwind
colors: {
custom: {
50: '#e29ff7',
500: '#d173f2',
950: '#000000',
},
}SCSS
$custom: #d173f2; $custom-light: #e29ff7; $custom-dark: #000000;
JSON
{
"hex": "#d173f2",
"rgb": {
"r": 209,
"g": 115,
"b": 242
},
"hsl": {
"h": 284.409,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.70935,
"c": 0.19838,
"h": 316.6
},
"luminance": 0.32228
}Semantic roles & 50–950 ramp
primary
#D173F2
secondary
#D8F2CF
accent
#DF063F
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85