Skip to content
Vectorlight.net

#a660ba

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

HEX
#a660ba
RGB
166, 96, 186
HSL
286.67°, 39.47%, 55.29%
OKLCH
0.6 0.15 318.41
Names
—
Lists

Codes

FormatValue
HEX#a660ba
RGBrgb(166 96 186)
HSLhsl(286.67 39.47% 55.29%)
OKLCHoklch(0.6 0.15 318.41)
CMYKcmyk(10.75% 48.39% 0% 27.06%)
Android#ffa660ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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