Skip to content
Vectorlight.net

#af99fc

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

HEX
#af99fc
RGB
175, 153, 252
HSL
253.33°, 94.29%, 79.41%
OKLCH
0.74 0.14 292.84
Names
—
Lists

Codes

FormatValue
HEX#af99fc
RGBrgb(175 153 252)
HSLhsl(253.33 94.29% 79.41%)
OKLCHoklch(0.74 0.14 292.84)
CMYKcmyk(30.56% 39.29% 0% 1.18%)
Android#ffaf99fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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