Skip to content
Vectorlight.net

#a157be

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

HEX
#a157be
RGB
161, 87, 190
HSL
283.11°, 44.21%, 54.31%
OKLCH
0.59 0.17 315.59
Names
—
Lists

Codes

FormatValue
HEX#a157be
RGBrgb(161 87 190)
HSLhsl(283.11 44.21% 54.31%)
OKLCHoklch(0.59 0.17 315.59)
CMYKcmyk(15.26% 54.21% 0% 25.49%)
Android#ffa157be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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