Skip to content
Vectorlight.net

#aa56cf

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

HEX
#aa56cf
RGB
170, 86, 207
HSL
281.65°, 55.76%, 57.45%
OKLCH
0.6 0.19 314.23
Names
—
Lists

Codes

FormatValue
HEX#aa56cf
RGBrgb(170 86 207)
HSLhsl(281.65 55.76% 57.45%)
OKLCHoklch(0.6 0.19 314.23)
CMYKcmyk(17.87% 58.45% 0% 18.82%)
Android#ffaa56cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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