Skip to content
Vectorlight.net

#aa48e4

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

HEX
#aa48e4
RGB
170, 72, 228
HSL
277.69°, 74.29%, 58.82%
OKLCH
0.6 0.23 309.99
Names
—
Lists

Codes

FormatValue
HEX#aa48e4
RGBrgb(170 72 228)
HSLhsl(277.69 74.29% 58.82%)
OKLCHoklch(0.6 0.23 309.99)
CMYKcmyk(25.44% 68.42% 0% 10.59%)
Android#ffaa48e4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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