Skip to content
Vectorlight.net

#af4ccf

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

HEX
#af4ccf
RGB
175, 76, 207
HSL
285.34°, 57.71%, 55.49%
OKLCH
0.6 0.21 316.96
Names
—
Lists

Codes

FormatValue
HEX#af4ccf
RGBrgb(175 76 207)
HSLhsl(285.34 57.71% 55.49%)
OKLCHoklch(0.6 0.21 316.96)
CMYKcmyk(15.46% 63.29% 0% 18.82%)
Android#ffaf4ccf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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