Skip to content
Vectorlight.net

#a660eb

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

HEX
#a660eb
RGB
166, 96, 235
HSL
270.22°, 77.65%, 64.9%
OKLCH
0.63 0.2 304.38
Names
—
Lists

Codes

FormatValue
HEX#a660eb
RGBrgb(166 96 235)
HSLhsl(270.22 77.65% 64.9%)
OKLCHoklch(0.63 0.2 304.38)
CMYKcmyk(29.36% 59.15% 0% 7.84%)
Android#ffa660eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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