Skip to content
Vectorlight.net

#afa4e1

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

HEX
#afa4e1
RGB
175, 164, 225
HSL
250.82°, 50.41%, 76.27%
OKLCH
0.75 0.09 292.43
Names
—
Lists

Codes

FormatValue
HEX#afa4e1
RGBrgb(175 164 225)
HSLhsl(250.82 50.41% 76.27%)
OKLCHoklch(0.75 0.09 292.43)
CMYKcmyk(22.22% 27.11% 0% 11.76%)
Android#ffafa4e1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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