Skip to content
Vectorlight.net

#af79bc

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

HEX
#af79bc
RGB
175, 121, 188
HSL
288.36°, 33.33%, 60.59%
OKLCH
0.65 0.11 319.68
Names
—
Lists

Codes

FormatValue
HEX#af79bc
RGBrgb(175 121 188)
HSLhsl(288.36 33.33% 60.59%)
OKLCHoklch(0.65 0.11 319.68)
CMYKcmyk(6.91% 35.64% 0% 26.27%)
Android#ffaf79bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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