Skip to content
Vectorlight.net

#ab45fb

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

HEX
#ab45fb
RGB
171, 69, 251
HSL
273.63°, 95.79%, 62.75%
OKLCH
0.62 0.26 305.54
Names
—
Lists

Codes

FormatValue
HEX#ab45fb
RGBrgb(171 69 251)
HSLhsl(273.63 95.79% 62.75%)
OKLCHoklch(0.62 0.26 305.54)
CMYKcmyk(31.87% 72.51% 0% 1.57%)
Android#ffab45fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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