Skip to content
Vectorlight.net

#af7fdc

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

HEX
#af7fdc
RGB
175, 127, 220
HSL
270.97°, 57.06%, 68.04%
OKLCH
0.68 0.14 306.8
Names
—
Lists

Codes

FormatValue
HEX#af7fdc
RGBrgb(175 127 220)
HSLhsl(270.97 57.06% 68.04%)
OKLCHoklch(0.68 0.14 306.8)
CMYKcmyk(20.45% 42.27% 0% 13.73%)
Android#ffaf7fdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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