Skip to content
Vectorlight.net

#afa4e8

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

HEX
#afa4e8
RGB
175, 164, 232
HSL
249.71°, 59.65%, 77.65%
OKLCH
0.75 0.1 291.3
Names
—
Lists

Codes

FormatValue
HEX#afa4e8
RGBrgb(175 164 232)
HSLhsl(249.71 59.65% 77.65%)
OKLCHoklch(0.75 0.1 291.3)
CMYKcmyk(24.57% 29.31% 0% 9.02%)
Android#ffafa4e8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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