Skip to content
Vectorlight.net

#ab35cf

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

HEX
#ab35cf
RGB
171, 53, 207
HSL
285.97°, 61.6%, 50.98%
OKLCH
0.57 0.23 316.89
Names
—
Lists

Codes

FormatValue
HEX#ab35cf
RGBrgb(171 53 207)
HSLhsl(285.97 61.6% 50.98%)
OKLCHoklch(0.57 0.23 316.89)
CMYKcmyk(17.39% 74.4% 0% 18.82%)
Android#ffab35cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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