Skip to content
Vectorlight.net

#af7fbf

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

HEX
#af7fbf
RGB
175, 127, 191
HSL
285°, 33.33%, 62.35%
OKLCH
0.67 0.11 317.47
Names
—
Lists

Codes

FormatValue
HEX#af7fbf
RGBrgb(175 127 191)
HSLhsl(285 33.33% 62.35%)
OKLCHoklch(0.67 0.11 317.47)
CMYKcmyk(8.38% 33.51% 0% 25.1%)
Android#ffaf7fbf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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