Skip to content
Vectorlight.net

#afa8cf

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

HEX
#afa8cf
RGB
175, 168, 207
HSL
250.77°, 28.89%, 73.53%
OKLCH
0.75 0.06 293.23
Names
—
Lists

Codes

FormatValue
HEX#afa8cf
RGBrgb(175 168 207)
HSLhsl(250.77 28.89% 73.53%)
OKLCHoklch(0.75 0.06 293.23)
CMYKcmyk(15.46% 18.84% 0% 18.82%)
Android#ffafa8cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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