Skip to content
Vectorlight.net

#aa56fc

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

HEX
#aa56fc
RGB
170, 86, 252
HSL
270.36°, 96.51%, 66.27%
OKLCH
0.63 0.24 303.49
Names
—
Lists

Codes

FormatValue
HEX#aa56fc
RGBrgb(170 86 252)
HSLhsl(270.36 96.51% 66.27%)
OKLCHoklch(0.63 0.24 303.49)
CMYKcmyk(32.54% 65.87% 0% 1.18%)
Android#ffaa56fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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