Skip to content
Vectorlight.net

#af91df

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

HEX
#af91df
RGB
175, 145, 223
HSL
263.08°, 54.93%, 72.16%
OKLCH
0.71 0.12 301.22
Names
—
Lists

Codes

FormatValue
HEX#af91df
RGBrgb(175 145 223)
HSLhsl(263.08 54.93% 72.16%)
OKLCHoklch(0.71 0.12 301.22)
CMYKcmyk(21.52% 34.98% 0% 12.55%)
Android#ffaf91df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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