Skip to content
Vectorlight.net

#a151af

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

HEX
#a151af
RGB
161, 81, 175
HSL
291.06°, 37.01%, 50.2%
OKLCH
0.57 0.16 321.48
Names
—
Lists

Codes

FormatValue
HEX#a151af
RGBrgb(161 81 175)
HSLhsl(291.06 37.01% 50.2%)
OKLCHoklch(0.57 0.16 321.48)
CMYKcmyk(8% 53.71% 0% 31.37%)
Android#ffa151af

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.31: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="#a151af"
Gradient stop
<stop stop-color="#a151af"/>
CSS variable + fill
:root { --c: #a151af; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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