Skip to content
Vectorlight.net

#aa3198

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

HEX
#aa3198
RGB
170, 49, 152
HSL
308.93°, 55.25%, 42.94%
OKLCH
0.53 0.19 334.6
Names
—
Lists

Codes

FormatValue
HEX#aa3198
RGBrgb(170 49 152)
HSLhsl(308.93 55.25% 42.94%)
OKLCHoklch(0.53 0.19 334.6)
CMYKcmyk(0% 71.18% 10.59% 33.33%)
Android#ffaa3198

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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