Skip to content
Vectorlight.net

#a157ce

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

HEX
#a157ce
RGB
161, 87, 206
HSL
277.31°, 54.84%, 57.45%
OKLCH
0.6 0.18 310.71
Names
—
Lists

Codes

FormatValue
HEX#a157ce
RGBrgb(161 87 206)
HSLhsl(277.31 54.84% 57.45%)
OKLCHoklch(0.6 0.18 310.71)
CMYKcmyk(21.84% 57.77% 0% 19.22%)
Android#ffa157ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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