Skip to content
Vectorlight.net

#ab4fbe

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

HEX
#ab4fbe
RGB
171, 79, 190
HSL
289.73°, 46.06%, 52.75%
OKLCH
0.59 0.18 320.48
Names
—
Lists

Codes

FormatValue
HEX#ab4fbe
RGBrgb(171 79 190)
HSLhsl(289.73 46.06% 52.75%)
OKLCHoklch(0.59 0.18 320.48)
CMYKcmyk(10% 58.42% 0% 25.49%)
Android#ffab4fbe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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