Skip to content
Vectorlight.net

#aa28cf

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

HEX
#aa28cf
RGB
170, 40, 207
HSL
286.71°, 67.61%, 48.43%
OKLCH
0.56 0.24 317.1
Names
—
Lists

Codes

FormatValue
HEX#aa28cf
RGBrgb(170 40 207)
HSLhsl(286.71 67.61% 48.43%)
OKLCHoklch(0.56 0.24 317.1)
CMYKcmyk(17.87% 80.68% 0% 18.82%)
Android#ffaa28cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.36:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.91:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#aa28cf"
Gradient stop
<stop stop-color="#aa28cf"/>
CSS variable + fill
:root { --c: #aa28cf; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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