Skip to content
Vectorlight.net

#afb7df

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

HEX
#afb7df
RGB
175, 183, 223
HSL
230°, 42.86%, 78.04%
OKLCH
0.79 0.06 276.13
Names
—
Lists

Codes

FormatValue
HEX#afb7df
RGBrgb(175 183 223)
HSLhsl(230 42.86% 78.04%)
OKLCHoklch(0.79 0.06 276.13)
CMYKcmyk(21.52% 17.94% 0% 12.55%)
Android#ffafb7df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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