Skip to content
Vectorlight.net

#a156ef

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

HEX
#a156ef
RGB
161, 86, 239
HSL
269.41°, 82.7%, 63.73%
OKLCH
0.61 0.22 302.93
Names
—
Lists

Codes

FormatValue
HEX#a156ef
RGBrgb(161 86 239)
HSLhsl(269.41 82.7% 63.73%)
OKLCHoklch(0.61 0.22 302.93)
CMYKcmyk(32.64% 64.02% 0% 6.27%)
Android#ffa156ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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