Skip to content
Vectorlight.net

#af86ca

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

HEX
#af86ca
RGB
175, 134, 202
HSL
276.18°, 39.08%, 65.88%
OKLCH
0.68 0.11 311.3
Names
—
Lists

Codes

FormatValue
HEX#af86ca
RGBrgb(175 134 202)
HSLhsl(276.18 39.08% 65.88%)
OKLCHoklch(0.68 0.11 311.3)
CMYKcmyk(13.37% 33.66% 0% 20.78%)
Android#ffaf86ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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