Skip to content
Vectorlight.net

#af8ec1

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

HEX
#af8ec1
RGB
175, 142, 193
HSL
278.82°, 29.14%, 65.69%
OKLCH
0.69 0.08 313.45
Names
—
Lists

Codes

FormatValue
HEX#af8ec1
RGBrgb(175 142 193)
HSLhsl(278.82 29.14% 65.69%)
OKLCHoklch(0.69 0.08 313.45)
CMYKcmyk(9.33% 26.42% 0% 24.31%)
Android#ffaf8ec1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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