Skip to content
Vectorlight.net

#afa4e4

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

HEX
#afa4e4
RGB
175, 164, 228
HSL
250.31°, 54.24%, 76.86%
OKLCH
0.75 0.09 291.92
Names
—
Lists

Codes

FormatValue
HEX#afa4e4
RGBrgb(175 164 228)
HSLhsl(250.31 54.24% 76.86%)
OKLCHoklch(0.75 0.09 291.92)
CMYKcmyk(23.25% 28.07% 0% 10.59%)
Android#ffafa4e4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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