Skip to content
Vectorlight.net

#aa56fb

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

HEX
#aa56fb
RGB
170, 86, 251
HSL
270.55°, 95.38%, 66.08%
OKLCH
0.63 0.24 303.68
Names
—
Lists

Codes

FormatValue
HEX#aa56fb
RGBrgb(170 86 251)
HSLhsl(270.55 95.38% 66.08%)
OKLCHoklch(0.63 0.24 303.68)
CMYKcmyk(32.27% 65.74% 0% 1.57%)
Android#ffaa56fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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