Skip to content
Vectorlight.net

#af50f0

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

HEX
#af50f0
RGB
175, 80, 240
HSL
275.63°, 84.21%, 62.75%
OKLCH
0.62 0.23 308.29
Names
—
Lists

Codes

FormatValue
HEX#af50f0
RGBrgb(175 80 240)
HSLhsl(275.63 84.21% 62.75%)
OKLCHoklch(0.62 0.23 308.29)
CMYKcmyk(27.08% 66.67% 0% 5.88%)
Android#ffaf50f0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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