Skip to content
Vectorlight.net

#af60fe

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

HEX
#af60fe
RGB
175, 96, 254
HSL
270°, 98.75%, 68.63%
OKLCH
0.65 0.23 303.72
Names
—
Lists

Codes

FormatValue
HEX#af60fe
RGBrgb(175 96 254)
HSLhsl(270 98.75% 68.63%)
OKLCHoklch(0.65 0.23 303.72)
CMYKcmyk(31.1% 62.2% 0% 0.39%)
Android#ffaf60fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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