Skip to content
Vectorlight.net

#af70da

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

HEX
#af70da
RGB
175, 112, 218
HSL
275.66°, 58.89%, 64.71%
OKLCH
0.65 0.16 310.03
Names
—
Lists

Codes

FormatValue
HEX#af70da
RGBrgb(175 112 218)
HSLhsl(275.66 58.89% 64.71%)
OKLCHoklch(0.65 0.16 310.03)
CMYKcmyk(19.72% 48.62% 0% 14.51%)
Android#ffaf70da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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