Skip to content
Vectorlight.net

#a151ae

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

HEX
#a151ae
RGB
161, 81, 174
HSL
291.61°, 36.47%, 50%
OKLCH
0.57 0.16 321.87
Names
—
Lists

Codes

FormatValue
HEX#a151ae
RGBrgb(161 81 174)
HSLhsl(291.61 36.47% 50%)
OKLCHoklch(0.57 0.16 321.87)
CMYKcmyk(7.47% 53.45% 0% 31.76%)
Android#ffa151ae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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