Skip to content
Vectorlight.net

#a171e5

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

HEX
#a171e5
RGB
161, 113, 229
HSL
264.83°, 69.05%, 67.06%
OKLCH
0.65 0.17 300.84
Names
—
Lists

Codes

FormatValue
HEX#a171e5
RGBrgb(161 113 229)
HSLhsl(264.83 69.05% 67.06%)
OKLCHoklch(0.65 0.17 300.84)
CMYKcmyk(29.69% 50.66% 0% 10.2%)
Android#ffa171e5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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