Skip to content
Vectorlight.net

#af91eb

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

HEX
#af91eb
RGB
175, 145, 235
HSL
260°, 69.23%, 74.51%
OKLCH
0.72 0.13 298.4
Names
—
Lists

Codes

FormatValue
HEX#af91eb
RGBrgb(175 145 235)
HSLhsl(260 69.23% 74.51%)
OKLCHoklch(0.72 0.13 298.4)
CMYKcmyk(25.53% 38.3% 0% 7.84%)
Android#ffaf91eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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