Skip to content
Vectorlight.net

#af4afd

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

HEX
#af4afd
RGB
175, 74, 253
HSL
273.85°, 97.81%, 64.12%
OKLCH
0.63 0.25 306.04
Names
—
Lists

Codes

FormatValue
HEX#af4afd
RGBrgb(175 74 253)
HSLhsl(273.85 97.81% 64.12%)
OKLCHoklch(0.63 0.25 306.04)
CMYKcmyk(30.83% 70.75% 0% 0.78%)
Android#ffaf4afd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.02:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.22:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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