Skip to content
Vectorlight.net

#af91dd

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

HEX
#af91dd
RGB
175, 145, 221
HSL
263.68°, 52.78%, 71.76%
OKLCH
0.71 0.11 301.76
Names
—
Lists

Codes

FormatValue
HEX#af91dd
RGBrgb(175 145 221)
HSLhsl(263.68 52.78% 71.76%)
OKLCHoklch(0.71 0.11 301.76)
CMYKcmyk(20.81% 34.39% 0% 13.33%)
Android#ffaf91dd

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.91: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="#af91dd"
Gradient stop
<stop stop-color="#af91dd"/>
CSS variable + fill
:root { --c: #af91dd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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