Skip to content
Vectorlight.net

#a17bc5

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

HEX
#a17bc5
RGB
161, 123, 197
HSL
270.81°, 38.95%, 62.75%
OKLCH
0.65 0.11 307.06
Names
—
Lists

Codes

FormatValue
HEX#a17bc5
RGBrgb(161 123 197)
HSLhsl(270.81 38.95% 62.75%)
OKLCHoklch(0.65 0.11 307.06)
CMYKcmyk(18.27% 37.56% 0% 22.75%)
Android#ffa17bc5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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