Skip to content
Vectorlight.net

#aa50db

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

HEX
#aa50db
RGB
170, 80, 219
HSL
278.85°, 65.88%, 58.63%
OKLCH
0.6 0.21 311.52
Names
—
Lists

Codes

FormatValue
HEX#aa50db
RGBrgb(170 80 219)
HSLhsl(278.85 65.88% 58.63%)
OKLCHoklch(0.6 0.21 311.52)
CMYKcmyk(22.37% 63.47% 0% 14.12%)
Android#ffaa50db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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