Skip to content
Vectorlight.net

#afa4df

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

HEX
#afa4df
RGB
175, 164, 223
HSL
251.19°, 47.97%, 75.88%
OKLCH
0.75 0.08 292.79
Names
—
Lists

Codes

FormatValue
HEX#afa4df
RGBrgb(175 164 223)
HSLhsl(251.19 47.97% 75.88%)
OKLCHoklch(0.75 0.08 292.79)
CMYKcmyk(21.52% 26.46% 0% 12.55%)
Android#ffafa4df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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