Skip to content
Vectorlight.net

#a6509e

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

HEX
#a6509e
RGB
166, 80, 158
HSL
305.58°, 34.96%, 48.24%
OKLCH
0.57 0.15 330.96
Names
—
Lists

Codes

FormatValue
HEX#a6509e
RGBrgb(166 80 158)
HSLhsl(305.58 34.96% 48.24%)
OKLCHoklch(0.57 0.15 330.96)
CMYKcmyk(0% 51.81% 4.82% 34.9%)
Android#ffa6509e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.92:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.26:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#a6509e"
Gradient stop
<stop stop-color="#a6509e"/>
CSS variable + fill
:root { --c: #a6509e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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