Skip to content
Vectorlight.net

#af5eec

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

HEX
#af5eec
RGB
175, 94, 236
HSL
274.23°, 78.89%, 64.71%
OKLCH
0.64 0.21 307.8
Names
—
Lists

Codes

FormatValue
HEX#af5eec
RGBrgb(175 94 236)
HSLhsl(274.23 78.89% 64.71%)
OKLCHoklch(0.64 0.21 307.8)
CMYKcmyk(25.85% 60.17% 0% 7.45%)
Android#ffaf5eec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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