Skip to content
Vectorlight.net

#aa6bf1

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

HEX
#aa6bf1
RGB
170, 107, 241
HSL
268.21°, 82.72%, 68.24%
OKLCH
0.65 0.2 303.07
Names
—
Lists

Codes

FormatValue
HEX#aa6bf1
RGBrgb(170 107 241)
HSLhsl(268.21 82.72% 68.24%)
OKLCHoklch(0.65 0.2 303.07)
CMYKcmyk(29.46% 55.6% 0% 5.49%)
Android#ffaa6bf1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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