Skip to content
Vectorlight.net

#aa5bcc

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

HEX
#aa5bcc
RGB
170, 91, 204
HSL
281.95°, 52.56%, 57.84%
OKLCH
0.61 0.18 314.62
Names
—
Lists

Codes

FormatValue
HEX#aa5bcc
RGBrgb(170 91 204)
HSLhsl(281.95 52.56% 57.84%)
OKLCHoklch(0.61 0.18 314.62)
CMYKcmyk(16.67% 55.39% 0% 20%)
Android#ffaa5bcc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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