Skip to content
Vectorlight.net

#a666cd

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

HEX
#a666cd
RGB
166, 102, 205
HSL
277.28°, 50.74%, 60.2%
OKLCH
0.62 0.16 311.23
Names
—
Lists

Codes

FormatValue
HEX#a666cd
RGBrgb(166 102 205)
HSLhsl(277.28 50.74% 60.2%)
OKLCHoklch(0.62 0.16 311.23)
CMYKcmyk(19.02% 50.24% 0% 19.61%)
Android#ffa666cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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