Skip to content
Vectorlight.net

#a178ac

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

HEX
#a178ac
RGB
161, 120, 172
HSL
287.31°, 23.85%, 57.25%
OKLCH
0.63 0.09 319.02
Names
—
Lists

Codes

FormatValue
HEX#a178ac
RGBrgb(161 120 172)
HSLhsl(287.31 23.85% 57.25%)
OKLCHoklch(0.63 0.09 319.02)
CMYKcmyk(6.4% 30.23% 0% 32.55%)
Android#ffa178ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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