Skip to content
Vectorlight.net

#afa4ec

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

HEX
#afa4ec
RGB
175, 164, 236
HSL
249.17°, 65.45%, 78.43%
OKLCH
0.75 0.1 290.72
Names
—
Lists

Codes

FormatValue
HEX#afa4ec
RGBrgb(175 164 236)
HSLhsl(249.17 65.45% 78.43%)
OKLCHoklch(0.75 0.1 290.72)
CMYKcmyk(25.85% 30.51% 0% 7.45%)
Android#ffafa4ec

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

Recolor an SVG with this color

CSS

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