Skip to content
Vectorlight.net

#ab35ea

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

HEX
#ab35ea
RGB
171, 53, 234
HSL
279.12°, 81.17%, 56.27%
OKLCH
0.59 0.26 310.23
Names
—
Lists

Codes

FormatValue
HEX#ab35ea
RGBrgb(171 53 234)
HSLhsl(279.12 81.17% 56.27%)
OKLCHoklch(0.59 0.26 310.23)
CMYKcmyk(26.92% 77.35% 0% 8.24%)
Android#ffab35ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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