Skip to content
Vectorlight.net

#af23db

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

HEX
#af23db
RGB
175, 35, 219
HSL
285.65°, 72.44%, 49.8%
OKLCH
0.57 0.26 315.81
Names
—
Lists

Codes

FormatValue
HEX#af23db
RGBrgb(175 35 219)
HSLhsl(285.65 72.44% 49.8%)
OKLCHoklch(0.57 0.26 315.81)
CMYKcmyk(20.09% 84.02% 0% 14.12%)
Android#ffaf23db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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