Skip to content
Vectorlight.net

#afa4e3

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

HEX
#afa4e3
RGB
175, 164, 227
HSL
250.48°, 52.94%, 76.67%
OKLCH
0.75 0.09 292.09
Names
—
Lists

Codes

FormatValue
HEX#afa4e3
RGBrgb(175 164 227)
HSLhsl(250.48 52.94% 76.67%)
OKLCHoklch(0.75 0.09 292.09)
CMYKcmyk(22.91% 27.75% 0% 10.98%)
Android#ffafa4e3

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.24: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="#afa4e3"
Gradient stop
<stop stop-color="#afa4e3"/>
CSS variable + fill
:root { --c: #afa4e3; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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