Skip to content
Vectorlight.net

#af91db

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

HEX
#af91db
RGB
175, 145, 219
HSL
264.32°, 50.68%, 71.37%
OKLCH
0.71 0.11 302.32
Names
—
Lists

Codes

FormatValue
HEX#af91db
RGBrgb(175 145 219)
HSLhsl(264.32 50.68% 71.37%)
OKLCHoklch(0.71 0.11 302.32)
CMYKcmyk(20.09% 33.79% 0% 14.12%)
Android#ffaf91db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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