Skip to content
Vectorlight.net

#af4ebc

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

HEX
#af4ebc
RGB
175, 78, 188
HSL
292.91°, 45.08%, 52.16%
OKLCH
0.59 0.19 322.79
Names
—
Lists

Codes

FormatValue
HEX#af4ebc
RGBrgb(175 78 188)
HSLhsl(292.91 45.08% 52.16%)
OKLCHoklch(0.59 0.19 322.79)
CMYKcmyk(6.91% 58.51% 0% 26.27%)
Android#ffaf4ebc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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