Skip to content
Vectorlight.net

#ab7dba

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

HEX
#ab7dba
RGB
171, 125, 186
HSL
285.25°, 30.65%, 60.98%
OKLCH
0.66 0.1 317.65
Names
—
Lists

Codes

FormatValue
HEX#ab7dba
RGBrgb(171 125 186)
HSLhsl(285.25 30.65% 60.98%)
OKLCHoklch(0.66 0.1 317.65)
CMYKcmyk(8.06% 32.8% 0% 27.06%)
Android#ffab7dba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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