Skip to content
Vectorlight.net

#a159ee

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

HEX
#a159ee
RGB
161, 89, 238
HSL
268.99°, 81.42%, 64.12%
OKLCH
0.62 0.22 302.76
Names
—
Lists

Codes

FormatValue
HEX#a159ee
RGBrgb(161 89 238)
HSLhsl(268.99 81.42% 64.12%)
OKLCHoklch(0.62 0.22 302.76)
CMYKcmyk(32.35% 62.61% 0% 6.67%)
Android#ffa159ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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