Skip to content
Vectorlight.net

#aa62fb

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

HEX
#aa62fb
RGB
170, 98, 251
HSL
268.24°, 95.03%, 68.43%
OKLCH
0.65 0.22 302.3
Names
—
Lists

Codes

FormatValue
HEX#aa62fb
RGBrgb(170 98 251)
HSLhsl(268.24 95.03% 68.43%)
OKLCHoklch(0.65 0.22 302.3)
CMYKcmyk(32.27% 60.96% 0% 1.57%)
Android#ffaa62fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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