Skip to content
Vectorlight.net

#ab05cf

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

HEX
#ab05cf
RGB
171, 5, 207
HSL
289.31°, 95.28%, 41.57%
OKLCH
0.55 0.26 318.16
Names
—
Lists

Codes

FormatValue
HEX#ab05cf
RGBrgb(171 5 207)
HSLhsl(289.31 95.28% 41.57%)
OKLCHoklch(0.55 0.26 318.16)
CMYKcmyk(17.39% 97.58% 0% 18.82%)
Android#ffab05cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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