Skip to content
Vectorlight.net

#af76cd

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

HEX
#af76cd
RGB
175, 118, 205
HSL
279.31°, 46.52%, 63.33%
OKLCH
0.66 0.14 313.2
Names
—
Lists

Codes

FormatValue
HEX#af76cd
RGBrgb(175 118 205)
HSLhsl(279.31 46.52% 63.33%)
OKLCHoklch(0.66 0.14 313.2)
CMYKcmyk(14.63% 42.44% 0% 19.61%)
Android#ffaf76cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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