Skip to content
Vectorlight.net

#af54bb

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

HEX
#af54bb
RGB
175, 84, 187
HSL
293.01°, 43.1%, 53.14%
OKLCH
0.6 0.18 322.85
Names
—
Lists

Codes

FormatValue
HEX#af54bb
RGBrgb(175 84 187)
HSLhsl(293.01 43.1% 53.14%)
OKLCHoklch(0.6 0.18 322.85)
CMYKcmyk(6.42% 55.08% 0% 26.67%)
Android#ffaf54bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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