Skip to content
Vectorlight.net

#af2ccf

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

HEX
#af2ccf
RGB
175, 44, 207
HSL
288.22°, 64.94%, 49.22%
OKLCH
0.57 0.24 318.58
Names
—
Lists

Codes

FormatValue
HEX#af2ccf
RGBrgb(175 44 207)
HSLhsl(288.22 64.94% 49.22%)
OKLCHoklch(0.57 0.24 318.58)
CMYKcmyk(15.46% 78.74% 0% 18.82%)
Android#ffaf2ccf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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