Skip to content
Vectorlight.net

#ab25dc

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

HEX
#ab25dc
RGB
171, 37, 220
HSL
283.93°, 72.33%, 50.39%
OKLCH
0.57 0.26 314.24
Names
—
Lists

Codes

FormatValue
HEX#ab25dc
RGBrgb(171 37 220)
HSLhsl(283.93 72.33% 50.39%)
OKLCHoklch(0.57 0.26 314.24)
CMYKcmyk(22.27% 83.18% 0% 13.73%)
Android#ffab25dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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