Skip to content
Vectorlight.net

#ab5397

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

HEX
#ab5397
RGB
171, 83, 151
HSL
313.64°, 34.65%, 49.8%
OKLCH
0.57 0.14 336.67
Names
—
Lists

Codes

FormatValue
HEX#ab5397
RGBrgb(171 83 151)
HSLhsl(313.64 34.65% 49.8%)
OKLCHoklch(0.57 0.14 336.67)
CMYKcmyk(0% 51.46% 11.7% 32.94%)
Android#ffab5397

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.75:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.41:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#ab5397"
Gradient stop
<stop stop-color="#ab5397"/>
CSS variable + fill
:root { --c: #ab5397; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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