Skip to content
Vectorlight.net

#af4cdf

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

HEX
#af4cdf
RGB
175, 76, 223
HSL
280.41°, 69.67%, 58.63%
OKLCH
0.61 0.22 312.65
Names
—
Lists

Codes

FormatValue
HEX#af4cdf
RGBrgb(175 76 223)
HSLhsl(280.41 69.67% 58.63%)
OKLCHoklch(0.61 0.22 312.65)
CMYKcmyk(21.52% 65.92% 0% 12.55%)
Android#ffaf4cdf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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