Skip to content
Vectorlight.net

#af7dcd

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

HEX
#af7dcd
RGB
175, 125, 205
HSL
277.5°, 44.44%, 64.71%
OKLCH
0.67 0.13 312.01
Names
—
Lists

Codes

FormatValue
HEX#af7dcd
RGBrgb(175 125 205)
HSLhsl(277.5 44.44% 64.71%)
OKLCHoklch(0.67 0.13 312.01)
CMYKcmyk(14.63% 39.02% 0% 19.61%)
Android#ffaf7dcd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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