Skip to content
Vectorlight.net

#a397ab

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

HEX
#a397ab
RGB
163, 151, 171
HSL
276°, 10.64%, 63.14%
OKLCH
0.69 0.03 312.02
Names
—
Lists

Codes

FormatValue
HEX#a397ab
RGBrgb(163 151 171)
HSLhsl(276 10.64% 63.14%)
OKLCHoklch(0.69 0.03 312.02)
CMYKcmyk(4.68% 11.7% 0% 32.94%)
Android#ffa397ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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