Skip to content
Vectorlight.net

#af82bc

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

HEX
#af82bc
RGB
175, 130, 188
HSL
286.55°, 30.21%, 62.35%
OKLCH
0.67 0.1 318.52
Names
—
Lists

Codes

FormatValue
HEX#af82bc
RGBrgb(175 130 188)
HSLhsl(286.55 30.21% 62.35%)
OKLCHoklch(0.67 0.1 318.52)
CMYKcmyk(6.91% 30.85% 0% 26.27%)
Android#ffaf82bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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