Skip to content
Vectorlight.net

#aa0786

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

HEX
#aa0786
RGB
170, 7, 134
HSL
313.25°, 92.09%, 34.71%
OKLCH
0.5 0.21 340.87
Names
—
Lists

Codes

FormatValue
HEX#aa0786
RGBrgb(170 7 134)
HSLhsl(313.25 92.09% 34.71%)
OKLCHoklch(0.5 0.21 340.87)
CMYKcmyk(0% 95.88% 21.18% 33.33%)
Android#ffaa0786

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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="#aa0786"
Gradient stop
<stop stop-color="#aa0786"/>
CSS variable + fill
:root { --c: #aa0786; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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