Skip to content
Vectorlight.net

#a166b5

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

HEX
#a166b5
RGB
161, 102, 181
HSL
284.81°, 34.8%, 55.49%
OKLCH
0.6 0.13 317.17
Names
—
Lists

Codes

FormatValue
HEX#a166b5
RGBrgb(161 102 181)
HSLhsl(284.81 34.8% 55.49%)
OKLCHoklch(0.6 0.13 317.17)
CMYKcmyk(11.05% 43.65% 0% 29.02%)
Android#ffa166b5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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