Skip to content
Vectorlight.net

#afa4cc

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

HEX
#afa4cc
RGB
175, 164, 204
HSL
256.5°, 28.17%, 72.16%
OKLCH
0.74 0.06 297.56
Names
—
Lists

Codes

FormatValue
HEX#afa4cc
RGBrgb(175 164 204)
HSLhsl(256.5 28.17% 72.16%)
OKLCHoklch(0.74 0.06 297.56)
CMYKcmyk(14.22% 19.61% 0% 20%)
Android#ffafa4cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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