Skip to content
Vectorlight.net

#afacfc

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

HEX
#afacfc
RGB
175, 172, 252
HSL
242.25°, 93.02%, 83.14%
OKLCH
0.78 0.11 285.16
Names
—
Lists

Codes

FormatValue
HEX#afacfc
RGBrgb(175 172 252)
HSLhsl(242.25 93.02% 83.14%)
OKLCHoklch(0.78 0.11 285.16)
CMYKcmyk(30.56% 31.75% 0% 1.18%)
Android#ffafacfc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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