Skip to content
Vectorlight.net

#afaff8

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

HEX
#afaff8
RGB
175, 175, 248
HSL
240°, 83.91%, 82.94%
OKLCH
0.78 0.1 283.75
Names
—
Lists

Codes

FormatValue
HEX#afaff8
RGBrgb(175 175 248)
HSLhsl(240 83.91% 82.94%)
OKLCHoklch(0.78 0.1 283.75)
CMYKcmyk(29.44% 29.44% 0% 2.75%)
Android#ffafaff8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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