Skip to content
Vectorlight.net

#a6508a

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

HEX
#a6508a
RGB
166, 80, 138
HSL
319.53°, 34.96%, 48.24%
OKLCH
0.56 0.13 341.36
Names
—
Lists

Codes

FormatValue
HEX#a6508a
RGBrgb(166 80 138)
HSLhsl(319.53 34.96% 48.24%)
OKLCHoklch(0.56 0.13 341.36)
CMYKcmyk(0% 51.81% 16.87% 34.9%)
Android#ffa6508a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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