Skip to content
Vectorlight.net

#af78bc

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

HEX
#af78bc
RGB
175, 120, 188
HSL
288.53°, 33.66%, 60.39%
OKLCH
0.65 0.12 319.79
Names
—
Lists

Codes

FormatValue
HEX#af78bc
RGBrgb(175 120 188)
HSLhsl(288.53 33.66% 60.39%)
OKLCHoklch(0.65 0.12 319.79)
CMYKcmyk(6.91% 36.17% 0% 26.27%)
Android#ffaf78bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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