Skip to content
Vectorlight.net

#a660f6

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

HEX
#a660f6
RGB
166, 96, 246
HSL
268°, 89.29%, 67.06%
OKLCH
0.64 0.22 302.09
Names
—
Lists

Codes

FormatValue
HEX#a660f6
RGBrgb(166 96 246)
HSLhsl(268 89.29% 67.06%)
OKLCHoklch(0.64 0.22 302.09)
CMYKcmyk(32.52% 60.98% 0% 3.53%)
Android#ffa660f6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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