Skip to content
Vectorlight.net

#a154af

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

HEX
#a154af
RGB
161, 84, 175
HSL
290.77°, 36.25%, 50.78%
OKLCH
0.57 0.16 321.28
Names
—
Lists

Codes

FormatValue
HEX#a154af
RGBrgb(161 84 175)
HSLhsl(290.77 36.25% 50.78%)
OKLCHoklch(0.57 0.16 321.28)
CMYKcmyk(8% 52% 0% 31.37%)
Android#ffa154af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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