Skip to content
Vectorlight.net

#a66cd2

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

HEX
#a66cd2
RGB
166, 108, 210
HSL
274.12°, 53.13%, 62.35%
OKLCH
0.63 0.16 308.81
Names
—
Lists

Codes

FormatValue
HEX#a66cd2
RGBrgb(166 108 210)
HSLhsl(274.12 53.13% 62.35%)
OKLCHoklch(0.63 0.16 308.81)
CMYKcmyk(20.95% 48.57% 0% 17.65%)
Android#ffa66cd2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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