Skip to content
Vectorlight.net

#af79fd

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

HEX
#af79fd
RGB
175, 121, 253
HSL
264.55°, 97.06%, 73.33%
OKLCH
0.69 0.19 300.34
Names
—
Lists

Codes

FormatValue
HEX#af79fd
RGBrgb(175 121 253)
HSLhsl(264.55 97.06% 73.33%)
OKLCHoklch(0.69 0.19 300.34)
CMYKcmyk(30.83% 52.17% 0% 0.78%)
Android#ffaf79fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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