Skip to content
Vectorlight.net

#af1cdc

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

HEX
#af1cdc
RGB
175, 28, 220
HSL
285.94°, 77.42%, 48.63%
OKLCH
0.57 0.26 315.76
Names
—
Lists

Codes

FormatValue
HEX#af1cdc
RGBrgb(175 28 220)
HSLhsl(285.94 77.42% 48.63%)
OKLCHoklch(0.57 0.26 315.76)
CMYKcmyk(20.45% 87.27% 0% 13.73%)
Android#ffaf1cdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.22:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.02:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#af1cdc"
Gradient stop
<stop stop-color="#af1cdc"/>
CSS variable + fill
:root { --c: #af1cdc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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