Skip to content
Vectorlight.net

#af46eb

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

HEX
#af46eb
RGB
175, 70, 235
HSL
278.18°, 80.49%, 59.8%
OKLCH
0.61 0.24 310.23
Names
—
Lists

Codes

FormatValue
HEX#af46eb
RGBrgb(175 70 235)
HSLhsl(278.18 80.49% 59.8%)
OKLCHoklch(0.61 0.24 310.23)
CMYKcmyk(25.53% 70.21% 0% 7.84%)
Android#ffaf46eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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