Skip to content
Vectorlight.net

#aa1fdc

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

HEX
#aa1fdc
RGB
170, 31, 220
HSL
284.13°, 75.3%, 49.22%
OKLCH
0.56 0.26 314.12
Names
—
Lists

Codes

FormatValue
HEX#aa1fdc
RGBrgb(170 31 220)
HSLhsl(284.13 75.3% 49.22%)
OKLCHoklch(0.56 0.26 314.12)
CMYKcmyk(22.73% 85.91% 0% 13.73%)
Android#ffaa1fdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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