Skip to content
Vectorlight.net

#ab46de

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

HEX
#ab46de
RGB
171, 70, 222
HSL
279.87°, 69.72%, 57.25%
OKLCH
0.6 0.23 311.96
Names
—
Lists

Codes

FormatValue
HEX#ab46de
RGBrgb(171 70 222)
HSLhsl(279.87 69.72% 57.25%)
OKLCHoklch(0.6 0.23 311.96)
CMYKcmyk(22.97% 68.47% 0% 12.94%)
Android#ffab46de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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