Skip to content
Vectorlight.net

#af4ee4

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

HEX
#af4ee4
RGB
175, 78, 228
HSL
278.8°, 73.53%, 60%
OKLCH
0.61 0.22 311.25
Names
—
Lists

Codes

FormatValue
HEX#af4ee4
RGBrgb(175 78 228)
HSLhsl(278.8 73.53% 60%)
OKLCHoklch(0.61 0.22 311.25)
CMYKcmyk(23.25% 65.79% 0% 10.59%)
Android#ffaf4ee4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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