Skip to content
Vectorlight.net

#ab30eb

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

HEX
#ab30eb
RGB
171, 48, 235
HSL
279.47°, 82.38%, 55.49%
OKLCH
0.59 0.26 310.27
Names
—
Lists

Codes

FormatValue
HEX#ab30eb
RGBrgb(171 48 235)
HSLhsl(279.47 82.38% 55.49%)
OKLCHoklch(0.59 0.26 310.27)
CMYKcmyk(27.23% 79.57% 0% 7.84%)
Android#ffab30eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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