Skip to content
Vectorlight.net

#afa0ef

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

HEX
#afa0ef
RGB
175, 160, 239
HSL
251.39°, 71.17%, 78.24%
OKLCH
0.75 0.11 292.16
Names
—
Lists

Codes

FormatValue
HEX#afa0ef
RGBrgb(175 160 239)
HSLhsl(251.39 71.17% 78.24%)
OKLCHoklch(0.75 0.11 292.16)
CMYKcmyk(26.78% 33.05% 0% 6.27%)
Android#ffafa0ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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