Skip to content
Vectorlight.net

#af50eb

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

HEX
#af50eb
RGB
175, 80, 235
HSL
276.77°, 79.49%, 61.76%
OKLCH
0.62 0.23 309.42
Names
—
Lists

Codes

FormatValue
HEX#af50eb
RGBrgb(175 80 235)
HSLhsl(276.77 79.49% 61.76%)
OKLCHoklch(0.62 0.23 309.42)
CMYKcmyk(25.53% 65.96% 0% 7.84%)
Android#ffaf50eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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