Skip to content
Vectorlight.net

#a66dcf

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

HEX
#a66dcf
RGB
166, 109, 207
HSL
274.9°, 50.52%, 61.96%
OKLCH
0.63 0.15 309.53
Names
—
Lists

Codes

FormatValue
HEX#a66dcf
RGBrgb(166 109 207)
HSLhsl(274.9 50.52% 61.96%)
OKLCHoklch(0.63 0.15 309.53)
CMYKcmyk(19.81% 47.34% 0% 18.82%)
Android#ffa66dcf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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