Skip to content
Vectorlight.net

#aa51bf

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

HEX
#aa51bf
RGB
170, 81, 191
HSL
288.55°, 46.22%, 53.33%
OKLCH
0.59 0.18 319.62
Names
—
Lists

Codes

FormatValue
HEX#aa51bf
RGBrgb(170 81 191)
HSLhsl(288.55 46.22% 53.33%)
OKLCHoklch(0.59 0.18 319.62)
CMYKcmyk(10.99% 57.59% 0% 25.1%)
Android#ffaa51bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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