Skip to content
Vectorlight.net

#a266ac

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

HEX
#a266ac
RGB
162, 102, 172
HSL
291.43°, 29.66%, 53.73%
OKLCH
0.6 0.12 321.7
Names
—
Lists

Codes

FormatValue
HEX#a266ac
RGBrgb(162 102 172)
HSLhsl(291.43 29.66% 53.73%)
OKLCHoklch(0.6 0.12 321.7)
CMYKcmyk(5.81% 40.7% 0% 32.55%)
Android#ffa266ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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