Skip to content
Vectorlight.net

#a172cf

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

HEX
#a172cf
RGB
161, 114, 207
HSL
270.32°, 49.21%, 62.94%
OKLCH
0.64 0.14 306.07
Names
—
Lists

Codes

FormatValue
HEX#a172cf
RGBrgb(161 114 207)
HSLhsl(270.32 49.21% 62.94%)
OKLCHoklch(0.64 0.14 306.07)
CMYKcmyk(22.22% 44.93% 0% 18.82%)
Android#ffa172cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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