Skip to content
Vectorlight.net

#af68dc

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

HEX
#af68dc
RGB
175, 104, 220
HSL
276.72°, 62.37%, 63.53%
OKLCH
0.64 0.18 310.59
Names
—
Lists

Codes

FormatValue
HEX#af68dc
RGBrgb(175 104 220)
HSLhsl(276.72 62.37% 63.53%)
OKLCHoklch(0.64 0.18 310.59)
CMYKcmyk(20.45% 52.73% 0% 13.73%)
Android#ffaf68dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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