Skip to content
Vectorlight.net

#af50bc

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

HEX
#af50bc
RGB
175, 80, 188
HSL
292.78°, 44.63%, 52.55%
OKLCH
0.59 0.18 322.69
Names
—
Lists

Codes

FormatValue
HEX#af50bc
RGBrgb(175 80 188)
HSLhsl(292.78 44.63% 52.55%)
OKLCHoklch(0.59 0.18 322.69)
CMYKcmyk(6.91% 57.45% 0% 26.27%)
Android#ffaf50bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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