Skip to content
Vectorlight.net

#af83cf

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

HEX
#af83cf
RGB
175, 131, 207
HSL
274.74°, 44.19%, 66.27%
OKLCH
0.68 0.12 310.08
Names
—
Lists

Codes

FormatValue
HEX#af83cf
RGBrgb(175 131 207)
HSLhsl(274.74 44.19% 66.27%)
OKLCHoklch(0.68 0.12 310.08)
CMYKcmyk(15.46% 36.71% 0% 18.82%)
Android#ffaf83cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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