Skip to content
Vectorlight.net

#afa4ee

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

HEX
#afa4ee
RGB
175, 164, 238
HSL
248.92°, 68.52%, 78.82%
OKLCH
0.76 0.11 290.45
Names
—
Lists

Codes

FormatValue
HEX#afa4ee
RGBrgb(175 164 238)
HSLhsl(248.92 68.52% 78.82%)
OKLCHoklch(0.76 0.11 290.45)
CMYKcmyk(26.47% 31.09% 0% 6.67%)
Android#ffafa4ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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