Skip to content
Vectorlight.net

#af2fdd

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

HEX
#af2fdd
RGB
175, 47, 221
HSL
284.14°, 71.9%, 52.55%
OKLCH
0.58 0.25 314.88
Names
—
Lists

Codes

FormatValue
HEX#af2fdd
RGBrgb(175 47 221)
HSLhsl(284.14 71.9% 52.55%)
OKLCHoklch(0.58 0.25 314.88)
CMYKcmyk(20.81% 78.73% 0% 13.33%)
Android#ffaf2fdd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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