Skip to content
Vectorlight.net

#ab38ef

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

HEX
#ab38ef
RGB
171, 56, 239
HSL
277.7°, 85.12%, 57.84%
OKLCH
0.59 0.26 308.95
Names
—
Lists

Codes

FormatValue
HEX#ab38ef
RGBrgb(171 56 239)
HSLhsl(277.7 85.12% 57.84%)
OKLCHoklch(0.59 0.26 308.95)
CMYKcmyk(28.45% 76.57% 0% 6.27%)
Android#ffab38ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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