Skip to content
Vectorlight.net

#af35d0

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

HEX
#af35d0
RGB
175, 53, 208
HSL
287.23°, 62.25%, 51.18%
OKLCH
0.58 0.24 317.96
Names
—
Lists

Codes

FormatValue
HEX#af35d0
RGBrgb(175 53 208)
HSLhsl(287.23 62.25% 51.18%)
OKLCHoklch(0.58 0.24 317.96)
CMYKcmyk(15.87% 74.52% 0% 18.43%)
Android#ffaf35d0

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.94:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.24:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

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