Skip to content
Vectorlight.net

#af9dcc

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

HEX
#af9dcc
RGB
175, 157, 204
HSL
262.98°, 31.54%, 70.78%
OKLCH
0.73 0.07 302.19
Names
—
Lists

Codes

FormatValue
HEX#af9dcc
RGBrgb(175 157 204)
HSLhsl(262.98 31.54% 70.78%)
OKLCHoklch(0.73 0.07 302.19)
CMYKcmyk(14.22% 23.04% 0% 20%)
Android#ffaf9dcc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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