Skip to content
Vectorlight.net

#af74ca

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

HEX
#af74ca
RGB
175, 116, 202
HSL
281.16°, 44.79%, 62.35%
OKLCH
0.65 0.14 314.56
Names
—
Lists

Codes

FormatValue
HEX#af74ca
RGBrgb(175 116 202)
HSLhsl(281.16 44.79% 62.35%)
OKLCHoklch(0.65 0.14 314.56)
CMYKcmyk(13.37% 42.57% 0% 20.78%)
Android#ffaf74ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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