Skip to content
Vectorlight.net

#a660ea

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

HEX
#a660ea
RGB
166, 96, 234
HSL
270.43°, 76.67%, 64.71%
OKLCH
0.63 0.2 304.6
Names
—
Lists

Codes

FormatValue
HEX#a660ea
RGBrgb(166 96 234)
HSLhsl(270.43 76.67% 64.71%)
OKLCHoklch(0.63 0.2 304.6)
CMYKcmyk(29.06% 58.97% 0% 8.24%)
Android#ffa660ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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