Skip to content
Vectorlight.net

#aa56db

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

HEX
#aa56db
RGB
170, 86, 219
HSL
277.89°, 64.88%, 59.8%
OKLCH
0.61 0.2 310.93
Names
—
Lists

Codes

FormatValue
HEX#aa56db
RGBrgb(170 86 219)
HSLhsl(277.89 64.88% 59.8%)
OKLCHoklch(0.61 0.2 310.93)
CMYKcmyk(22.37% 60.73% 0% 14.12%)
Android#ffaa56db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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