Skip to content
Vectorlight.net

#af66cd

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

HEX
#af66cd
RGB
175, 102, 205
HSL
282.52°, 50.74%, 60.2%
OKLCH
0.63 0.17 315.29
Names
—
Lists

Codes

FormatValue
HEX#af66cd
RGBrgb(175 102 205)
HSLhsl(282.52 50.74% 60.2%)
OKLCHoklch(0.63 0.17 315.29)
CMYKcmyk(14.63% 50.24% 0% 19.61%)
Android#ffaf66cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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