Skip to content
Vectorlight.net

#afb4df

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

HEX
#afb4df
RGB
175, 180, 223
HSL
233.75°, 42.86%, 78.04%
OKLCH
0.78 0.06 279.68
Names
—
Lists

Codes

FormatValue
HEX#afb4df
RGBrgb(175 180 223)
HSLhsl(233.75 42.86% 78.04%)
OKLCHoklch(0.78 0.06 279.68)
CMYKcmyk(21.52% 19.28% 0% 12.55%)
Android#ffafb4df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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