Skip to content
Vectorlight.net

#a151be

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

HEX
#a151be
RGB
161, 81, 190
HSL
284.04°, 45.61%, 53.14%
OKLCH
0.58 0.18 316.19
Names
—
Lists

Codes

FormatValue
HEX#a151be
RGBrgb(161 81 190)
HSLhsl(284.04 45.61% 53.14%)
OKLCHoklch(0.58 0.18 316.19)
CMYKcmyk(15.26% 57.37% 0% 25.49%)
Android#ffa151be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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