Skip to content
Vectorlight.net

#af79bd

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

HEX
#af79bd
RGB
175, 121, 189
HSL
287.65°, 34%, 60.78%
OKLCH
0.66 0.11 319.21
Names
—
Lists

Codes

FormatValue
HEX#af79bd
RGBrgb(175 121 189)
HSLhsl(287.65 34% 60.78%)
OKLCHoklch(0.66 0.11 319.21)
CMYKcmyk(7.41% 35.98% 0% 25.88%)
Android#ffaf79bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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