Skip to content
Vectorlight.net

#af8efb

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

HEX
#af8efb
RGB
175, 142, 251
HSL
258.17°, 93.16%, 77.06%
OKLCH
0.72 0.16 296.21
Names
—
Lists

Codes

FormatValue
HEX#af8efb
RGBrgb(175 142 251)
HSLhsl(258.17 93.16% 77.06%)
OKLCHoklch(0.72 0.16 296.21)
CMYKcmyk(30.28% 43.43% 0% 1.57%)
Android#ffaf8efb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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