Skip to content
Vectorlight.net

#af33d7

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

HEX
#af33d7
RGB
175, 51, 215
HSL
285.37°, 67.21%, 52.16%
OKLCH
0.58 0.24 316.21
Names
—
Lists

Codes

FormatValue
HEX#af33d7
RGBrgb(175 51 215)
HSLhsl(285.37 67.21% 52.16%)
OKLCHoklch(0.58 0.24 316.21)
CMYKcmyk(18.6% 76.28% 0% 15.69%)
Android#ffaf33d7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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