Skip to content
Vectorlight.net

#af66eb

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

HEX
#af66eb
RGB
175, 102, 235
HSL
272.93°, 76.88%, 66.08%
OKLCH
0.65 0.2 307.06
Names
—
Lists

Codes

FormatValue
HEX#af66eb
RGBrgb(175 102 235)
HSLhsl(272.93 76.88% 66.08%)
OKLCHoklch(0.65 0.2 307.06)
CMYKcmyk(25.53% 56.6% 0% 7.84%)
Android#ffaf66eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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