Skip to content
Vectorlight.net

#afd7fa

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

HEX
#afd7fa
RGB
175, 215, 250
HSL
208°, 88.24%, 83.33%
OKLCH
0.86 0.06 245.05
Names
—
Lists

Codes

FormatValue
HEX#afd7fa
RGBrgb(175 215 250)
HSLhsl(208 88.24% 83.33%)
OKLCHoklch(0.86 0.06 245.05)
CMYKcmyk(30% 14% 0% 1.96%)
Android#ffafd7fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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