Skip to content
Vectorlight.net

#a173f3

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#a173f3
RGB
161, 115, 243
HSL
261.56°, 84.21%, 70.2%
OKLCH
0.66 0.19 297.68
Names
—
Lists

Codes

FormatValue
HEX#a173f3
RGBrgb(161 115 243)
HSLhsl(261.56 84.21% 70.2%)
OKLCHoklch(0.66 0.19 297.68)
CMYKcmyk(33.74% 52.67% 0% 4.71%)
Android#ffa173f3

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.35:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.26:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#a173f3"
Gradient stop
<stop stop-color="#a173f3"/>
CSS variable + fill
:root { --c: #a173f3; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #a173f3;
background-color: #a173f3;
bg-[#a173f3]