Skip to content
Vectorlight.net

#aa71f0

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

HEX
#aa71f0
RGB
170, 113, 240
HSL
266.93°, 80.89%, 69.22%
OKLCH
0.66 0.19 302.32
Names
—
Lists

Codes

FormatValue
HEX#aa71f0
RGBrgb(170 113 240)
HSLhsl(266.93 80.89% 69.22%)
OKLCHoklch(0.66 0.19 302.32)
CMYKcmyk(29.17% 52.92% 0% 5.88%)
Android#ffaa71f0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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