Skip to content
Vectorlight.net

#aa5397

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

HEX
#aa5397
RGB
170, 83, 151
HSL
313.1°, 34.39%, 49.61%
OKLCH
0.57 0.14 336.24
Names
—
Lists

Codes

FormatValue
HEX#aa5397
RGBrgb(170 83 151)
HSLhsl(313.1 34.39% 49.61%)
OKLCHoklch(0.57 0.14 336.24)
CMYKcmyk(0% 51.18% 11.18% 33.33%)
Android#ffaa5397

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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