Skip to content
Vectorlight.net

#a172bc

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

HEX
#a172bc
RGB
161, 114, 188
HSL
278.11°, 35.58%, 59.22%
OKLCH
0.63 0.12 312.46
Names
—
Lists

Codes

FormatValue
HEX#a172bc
RGBrgb(161 114 188)
HSLhsl(278.11 35.58% 59.22%)
OKLCHoklch(0.63 0.12 312.46)
CMYKcmyk(14.36% 39.36% 0% 26.27%)
Android#ffa172bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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