Skip to content
Vectorlight.net

#ab50bc

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

HEX
#ab50bc
RGB
171, 80, 188
HSL
290.56°, 44.63%, 52.55%
OKLCH
0.59 0.18 321.1
Names
—
Lists

Codes

FormatValue
HEX#ab50bc
RGBrgb(171 80 188)
HSLhsl(290.56 44.63% 52.55%)
OKLCHoklch(0.59 0.18 321.1)
CMYKcmyk(9.04% 57.45% 0% 26.27%)
Android#ffab50bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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