Skip to content
Vectorlight.net

#a660c4

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

HEX
#a660c4
RGB
166, 96, 196
HSL
282°, 45.87%, 57.25%
OKLCH
0.61 0.16 314.87
Names
—
Lists

Codes

FormatValue
HEX#a660c4
RGBrgb(166 96 196)
HSLhsl(282 45.87% 57.25%)
OKLCHoklch(0.61 0.16 314.87)
CMYKcmyk(15.31% 51.02% 0% 23.14%)
Android#ffa660c4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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