Skip to content
Vectorlight.net

#af5fef

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

HEX
#af5fef
RGB
175, 95, 239
HSL
273.33°, 81.82%, 65.49%
OKLCH
0.64 0.21 307
Names
—
Lists

Codes

FormatValue
HEX#af5fef
RGBrgb(175 95 239)
HSLhsl(273.33 81.82% 65.49%)
OKLCHoklch(0.64 0.21 307)
CMYKcmyk(26.78% 60.25% 0% 6.27%)
Android#ffaf5fef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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