Skip to content
Vectorlight.net

#a66fbb

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

HEX
#a66fbb
RGB
166, 111, 187
HSL
283.42°, 35.85%, 58.43%
OKLCH
0.63 0.13 316.25
Names
—
Lists

Codes

FormatValue
HEX#a66fbb
RGBrgb(166 111 187)
HSLhsl(283.42 35.85% 58.43%)
OKLCHoklch(0.63 0.13 316.25)
CMYKcmyk(11.23% 40.64% 0% 26.67%)
Android#ffa66fbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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