Skip to content
Vectorlight.net

#ab14bd

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

HEX
#ab14bd
RGB
171, 20, 189
HSL
293.61°, 80.86%, 40.98%
OKLCH
0.54 0.24 322.85
Names
—
Lists

Codes

FormatValue
HEX#ab14bd
RGBrgb(171 20 189)
HSLhsl(293.61 80.86% 40.98%)
OKLCHoklch(0.54 0.24 322.85)
CMYKcmyk(9.52% 89.42% 0% 25.88%)
Android#ffab14bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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