Skip to content
Vectorlight.net

#a171cf

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

HEX
#a171cf
RGB
161, 113, 207
HSL
270.64°, 49.47%, 62.75%
OKLCH
0.64 0.14 306.28
Names
—
Lists

Codes

FormatValue
HEX#a171cf
RGBrgb(161 113 207)
HSLhsl(270.64 49.47% 62.75%)
OKLCHoklch(0.64 0.14 306.28)
CMYKcmyk(22.22% 45.41% 0% 18.82%)
Android#ffa171cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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