Skip to content
Vectorlight.net

#ab4fc8

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

HEX
#ab4fc8
RGB
171, 79, 200
HSL
285.62°, 52.38%, 54.71%
OKLCH
0.59 0.19 317.29
Names
—
Lists

Codes

FormatValue
HEX#ab4fc8
RGBrgb(171 79 200)
HSLhsl(285.62 52.38% 54.71%)
OKLCHoklch(0.59 0.19 317.29)
CMYKcmyk(14.5% 60.5% 0% 21.57%)
Android#ffab4fc8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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