Skip to content
Vectorlight.net

#ab45de

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

HEX
#ab45de
RGB
171, 69, 222
HSL
280°, 69.86%, 57.06%
OKLCH
0.6 0.23 312.03
Names
—
Lists

Codes

FormatValue
HEX#ab45de
RGBrgb(171 69 222)
HSLhsl(280 69.86% 57.06%)
OKLCHoklch(0.6 0.23 312.03)
CMYKcmyk(22.97% 68.92% 0% 12.94%)
Android#ffab45de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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