Skip to content
Vectorlight.net

#d82fac

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

HEX
#d82fac
RGB
216, 47, 172
HSL
315.62°, 68.42%, 51.57%
OKLCH
0.61 0.23 341.15
Names
—
Lists

Codes

FormatValue
HEX#d82fac
RGBrgb(216 47 172)
HSLhsl(315.62 68.42% 51.57%)
OKLCHoklch(0.61 0.23 341.15)
CMYKcmyk(0% 78.24% 20.37% 15.29%)
Android#ffd82fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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