Skip to content
Vectorlight.net

#af96cc

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

HEX
#af96cc
RGB
175, 150, 204
HSL
267.78°, 34.62%, 69.41%
OKLCH
0.71 0.08 305.54
Names
—
Lists

Codes

FormatValue
HEX#af96cc
RGBrgb(175 150 204)
HSLhsl(267.78 34.62% 69.41%)
OKLCHoklch(0.71 0.08 305.54)
CMYKcmyk(14.22% 26.47% 0% 20%)
Android#ffaf96cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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