Skip to content
Vectorlight.net

#ab48ef

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

HEX
#ab48ef
RGB
171, 72, 239
HSL
275.57°, 83.92%, 60.98%
OKLCH
0.61 0.24 307.83
Names
—
Lists

Codes

FormatValue
HEX#ab48ef
RGBrgb(171 72 239)
HSLhsl(275.57 83.92% 60.98%)
OKLCHoklch(0.61 0.24 307.83)
CMYKcmyk(28.45% 69.87% 0% 6.27%)
Android#ffab48ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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