Skip to content
Vectorlight.net

#afa5ce

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

HEX
#afa5ce
RGB
175, 165, 206
HSL
254.63°, 29.5%, 72.75%
OKLCH
0.74 0.06 296.11
Names
—
Lists

Codes

FormatValue
HEX#afa5ce
RGBrgb(175 165 206)
HSLhsl(254.63 29.5% 72.75%)
OKLCHoklch(0.74 0.06 296.11)
CMYKcmyk(15.05% 19.9% 0% 19.22%)
Android#ffafa5ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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