Skip to content
Vectorlight.net

#afa4c1

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

HEX
#afa4c1
RGB
175, 164, 193
HSL
262.76°, 18.95%, 70%
OKLCH
0.74 0.04 302.6
Names
—
Lists

Codes

FormatValue
HEX#afa4c1
RGBrgb(175 164 193)
HSLhsl(262.76 18.95% 70%)
OKLCHoklch(0.74 0.04 302.6)
CMYKcmyk(9.33% 15.03% 0% 24.31%)
Android#ffafa4c1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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