Skip to content
Vectorlight.net

#afa6cb

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

HEX
#afa6cb
RGB
175, 166, 203
HSL
254.59°, 26.24%, 72.35%
OKLCH
0.75 0.05 296.22
Names
—
Lists

Codes

FormatValue
HEX#afa6cb
RGBrgb(175 166 203)
HSLhsl(254.59 26.24% 72.35%)
OKLCHoklch(0.75 0.05 296.22)
CMYKcmyk(13.79% 18.23% 0% 20.39%)
Android#ffafa6cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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