Skip to content
Vectorlight.net

#ab5fcb

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

HEX
#ab5fcb
RGB
171, 95, 203
HSL
282.22°, 50.94%, 58.43%
OKLCH
0.62 0.17 314.94
Names
—
Lists

Codes

FormatValue
HEX#ab5fcb
RGBrgb(171 95 203)
HSLhsl(282.22 50.94% 58.43%)
OKLCHoklch(0.62 0.17 314.94)
CMYKcmyk(15.76% 53.2% 0% 20.39%)
Android#ffab5fcb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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