Skip to content
Vectorlight.net

#ab4fcb

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

HEX
#ab4fcb
RGB
171, 79, 203
HSL
284.52°, 54.39%, 55.29%
OKLCH
0.59 0.2 316.39
Names
—
Lists

Codes

FormatValue
HEX#ab4fcb
RGBrgb(171 79 203)
HSLhsl(284.52 54.39% 55.29%)
OKLCHoklch(0.59 0.2 316.39)
CMYKcmyk(15.76% 61.08% 0% 20.39%)
Android#ffab4fcb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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