Skip to content
Vectorlight.net

#af46de

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

HEX
#af46de
RGB
175, 70, 222
HSL
281.45°, 69.72%, 57.25%
OKLCH
0.6 0.23 313.35
Names
—
Lists

Codes

FormatValue
HEX#af46de
RGBrgb(175 70 222)
HSLhsl(281.45 69.72% 57.25%)
OKLCHoklch(0.6 0.23 313.35)
CMYKcmyk(21.17% 68.47% 0% 12.94%)
Android#ffaf46de

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="#af46de"
Gradient stop
<stop stop-color="#af46de"/>
CSS variable + fill
:root { --c: #af46de; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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