Skip to content
Vectorlight.net

#afa6de

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

HEX
#afa6de
RGB
175, 166, 222
HSL
249.64°, 45.9%, 76.08%
OKLCH
0.75 0.08 291.72
Names
—
Lists

Codes

FormatValue
HEX#afa6de
RGBrgb(175 166 222)
HSLhsl(249.64 45.9% 76.08%)
OKLCHoklch(0.75 0.08 291.72)
CMYKcmyk(21.17% 25.23% 0% 12.94%)
Android#ffafa6de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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