Skip to content
Vectorlight.net

#af38df

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

HEX
#af38df
RGB
175, 56, 223
HSL
282.75°, 72.29%, 54.71%
OKLCH
0.59 0.24 313.96
Names
—
Lists

Codes

FormatValue
HEX#af38df
RGBrgb(175 56 223)
HSLhsl(282.75 72.29% 54.71%)
OKLCHoklch(0.59 0.24 313.96)
CMYKcmyk(21.52% 74.89% 0% 12.55%)
Android#ffaf38df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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