Skip to content
Vectorlight.net

#aa5bbb

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

HEX
#aa5bbb
RGB
170, 91, 187
HSL
289.38°, 41.38%, 54.51%
OKLCH
0.6 0.16 320.3
Names
—
Lists

Codes

FormatValue
HEX#aa5bbb
RGBrgb(170 91 187)
HSLhsl(289.38 41.38% 54.51%)
OKLCHoklch(0.6 0.16 320.3)
CMYKcmyk(9.09% 51.34% 0% 26.67%)
Android#ffaa5bbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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