Skip to content
Vectorlight.net

#a1508a

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

HEX
#a1508a
RGB
161, 80, 138
HSL
317.04°, 33.61%, 47.25%
OKLCH
0.55 0.13 339.17
Names
—
Lists

Codes

FormatValue
HEX#a1508a
RGBrgb(161 80 138)
HSLhsl(317.04 33.61% 47.25%)
OKLCHoklch(0.55 0.13 339.17)
CMYKcmyk(0% 50.31% 14.29% 36.86%)
Android#ffa1508a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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