Skip to content
Vectorlight.net

#aa04bb

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

HEX
#aa04bb
RGB
170, 4, 187
HSL
294.43°, 95.81%, 37.45%
OKLCH
0.53 0.25 323.27
Names
—
Lists

Codes

FormatValue
HEX#aa04bb
RGBrgb(170 4 187)
HSLhsl(294.43 95.81% 37.45%)
OKLCHoklch(0.53 0.25 323.27)
CMYKcmyk(9.09% 97.86% 0% 26.67%)
Android#ffaa04bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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