Skip to content
Vectorlight.net

#aa4aeb

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

HEX
#aa4aeb
RGB
170, 74, 235
HSL
275.78°, 80.1%, 60.59%
OKLCH
0.61 0.23 308.21
Names
—
Lists

Codes

FormatValue
HEX#aa4aeb
RGBrgb(170 74 235)
HSLhsl(275.78 80.1% 60.59%)
OKLCHoklch(0.61 0.23 308.21)
CMYKcmyk(27.66% 68.51% 0% 7.84%)
Android#ffaa4aeb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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