Skip to content
Vectorlight.net

#aa5bdb

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

HEX
#aa5bdb
RGB
170, 91, 219
HSL
277.03°, 64%, 60.78%
OKLCH
0.62 0.2 310.4
Names
—
Lists

Codes

FormatValue
HEX#aa5bdb
RGBrgb(170 91 219)
HSLhsl(277.03 64% 60.78%)
OKLCHoklch(0.62 0.2 310.4)
CMYKcmyk(22.37% 58.45% 0% 14.12%)
Android#ffaa5bdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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