Skip to content
Vectorlight.net

#a170ad

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

HEX
#a170ad
RGB
161, 112, 173
HSL
288.2°, 27.11%, 55.88%
OKLCH
0.62 0.11 319.58
Names
—
Lists

Codes

FormatValue
HEX#a170ad
RGBrgb(161 112 173)
HSLhsl(288.2 27.11% 55.88%)
OKLCHoklch(0.62 0.11 319.58)
CMYKcmyk(6.94% 35.26% 0% 32.16%)
Android#ffa170ad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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