Skip to content
Vectorlight.net

#ab35cb

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

HEX
#ab35cb
RGB
171, 53, 203
HSL
287.2°, 59.06%, 50.2%
OKLCH
0.57 0.23 317.98
Names
—
Lists

Codes

FormatValue
HEX#ab35cb
RGBrgb(171 53 203)
HSLhsl(287.2 59.06% 50.2%)
OKLCHoklch(0.57 0.23 317.98)
CMYKcmyk(15.76% 73.89% 0% 20.39%)
Android#ffab35cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.11:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.10:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#ab35cb"
Gradient stop
<stop stop-color="#ab35cb"/>
CSS variable + fill
:root { --c: #ab35cb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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