Skip to content
Vectorlight.net

#afa0cc

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

HEX
#afa0cc
RGB
175, 160, 204
HSL
260.45°, 30.14%, 71.37%
OKLCH
0.73 0.06 300.4
Names
—
Lists

Codes

FormatValue
HEX#afa0cc
RGBrgb(175 160 204)
HSLhsl(260.45 30.14% 71.37%)
OKLCHoklch(0.73 0.06 300.4)
CMYKcmyk(14.22% 21.57% 0% 20%)
Android#ffafa0cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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