Skip to content
Vectorlight.net

#af47eb

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

HEX
#af47eb
RGB
175, 71, 235
HSL
278.05°, 80.39%, 60%
OKLCH
0.61 0.24 310.15
Names
—
Lists

Codes

FormatValue
HEX#af47eb
RGBrgb(175 71 235)
HSLhsl(278.05 80.39% 60%)
OKLCHoklch(0.61 0.24 310.15)
CMYKcmyk(25.53% 69.79% 0% 7.84%)
Android#ffaf47eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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