Skip to content
Vectorlight.net

#ab8fbc

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

HEX
#ab8fbc
RGB
171, 143, 188
HSL
277.33°, 25.14%, 64.9%
OKLCH
0.69 0.07 312.51
Names
—
Lists

Codes

FormatValue
HEX#ab8fbc
RGBrgb(171 143 188)
HSLhsl(277.33 25.14% 64.9%)
OKLCHoklch(0.69 0.07 312.51)
CMYKcmyk(9.04% 23.94% 0% 26.27%)
Android#ffab8fbc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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