Skip to content
Vectorlight.net

#ab50bd

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

HEX
#ab50bd
RGB
171, 80, 189
HSL
290.09°, 45.23%, 52.75%
OKLCH
0.59 0.18 320.76
Names
—
Lists

Codes

FormatValue
HEX#ab50bd
RGBrgb(171 80 189)
HSLhsl(290.09 45.23% 52.75%)
OKLCHoklch(0.59 0.18 320.76)
CMYKcmyk(9.52% 57.67% 0% 25.88%)
Android#ffab50bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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