Skip to content
Vectorlight.net

#ab44cd

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

HEX
#ab44cd
RGB
171, 68, 205
HSL
285.11°, 57.81%, 53.53%
OKLCH
0.58 0.21 316.6
Names
—
Lists

Codes

FormatValue
HEX#ab44cd
RGBrgb(171 68 205)
HSLhsl(285.11 57.81% 53.53%)
OKLCHoklch(0.58 0.21 316.6)
CMYKcmyk(16.59% 66.83% 0% 19.61%)
Android#ffab44cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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