Skip to content
Vectorlight.net

#af4aaf

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

HEX
#af4aaf
RGB
175, 74, 175
HSL
300°, 40.56%, 48.82%
OKLCH
0.58 0.18 327.59
Names
—
Lists

Codes

FormatValue
HEX#af4aaf
RGBrgb(175 74 175)
HSLhsl(300 40.56% 48.82%)
OKLCHoklch(0.58 0.18 327.59)
CMYKcmyk(0% 57.71% 0% 31.37%)
Android#ffaf4aaf

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.74:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.42:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#af4aaf"
Gradient stop
<stop stop-color="#af4aaf"/>
CSS variable + fill
:root { --c: #af4aaf; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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