Skip to content
Vectorlight.net

#afa7ea

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

HEX
#afa7ea
RGB
175, 167, 234
HSL
247.16°, 61.47%, 78.63%
OKLCH
0.76 0.1 289.39
Names
—
Lists

Codes

FormatValue
HEX#afa7ea
RGBrgb(175 167 234)
HSLhsl(247.16 61.47% 78.63%)
OKLCHoklch(0.76 0.1 289.39)
CMYKcmyk(25.21% 28.63% 0% 8.24%)
Android#ffafa7ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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