Skip to content
Vectorlight.net

#af07d7

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

HEX
#af07d7
RGB
175, 7, 215
HSL
288.46°, 93.69%, 43.53%
OKLCH
0.56 0.27 317.33
Names
—
Lists

Codes

FormatValue
HEX#af07d7
RGBrgb(175 7 215)
HSLhsl(288.46 93.69% 43.53%)
OKLCHoklch(0.56 0.27 317.33)
CMYKcmyk(18.6% 96.74% 0% 15.69%)
Android#ffaf07d7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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