Skip to content
Vectorlight.net

#af6ffb

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

HEX
#af6ffb
RGB
175, 111, 251
HSL
267.43°, 94.59%, 70.98%
OKLCH
0.67 0.2 302.35
Names
—
Lists

Codes

FormatValue
HEX#af6ffb
RGBrgb(175 111 251)
HSLhsl(267.43 94.59% 70.98%)
OKLCHoklch(0.67 0.2 302.35)
CMYKcmyk(30.28% 55.78% 0% 1.57%)
Android#ffaf6ffb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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