Skip to content
Vectorlight.net

#a666de

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

HEX
#a666de
RGB
166, 102, 222
HSL
272°, 64.52%, 63.53%
OKLCH
0.63 0.18 306.55
Names
—
Lists

Codes

FormatValue
HEX#a666de
RGBrgb(166 102 222)
HSLhsl(272 64.52% 63.53%)
OKLCHoklch(0.63 0.18 306.55)
CMYKcmyk(25.23% 54.05% 0% 12.94%)
Android#ffa666de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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