Skip to content
Vectorlight.net

#afa6df

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

HEX
#afa6df
RGB
175, 166, 223
HSL
249.47°, 47.11%, 76.27%
OKLCH
0.75 0.08 291.55
Names
—
Lists

Codes

FormatValue
HEX#afa6df
RGBrgb(175 166 223)
HSLhsl(249.47 47.11% 76.27%)
OKLCHoklch(0.75 0.08 291.55)
CMYKcmyk(21.52% 25.56% 0% 12.55%)
Android#ffafa6df

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

Recolor an SVG with this color

CSS

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