Skip to content
Vectorlight.net

#a170aa

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

HEX
#a170aa
RGB
161, 112, 170
HSL
290.69°, 25.44%, 55.29%
OKLCH
0.62 0.1 321.18
Names
—
Lists

Codes

FormatValue
HEX#a170aa
RGBrgb(161 112 170)
HSLhsl(290.69 25.44% 55.29%)
OKLCHoklch(0.62 0.1 321.18)
CMYKcmyk(5.29% 34.12% 0% 33.33%)
Android#ffa170aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.87:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.41: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="#a170aa"
Gradient stop
<stop stop-color="#a170aa"/>
CSS variable + fill
:root { --c: #a170aa; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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