Skip to content
Vectorlight.net

#d82bc2

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

HEX
#d82bc2
RGB
216, 43, 194
HSL
307.63°, 68.92%, 50.78%
OKLCH
0.62 0.25 334.25
Names
—
Lists

Codes

FormatValue
HEX#d82bc2
RGBrgb(216 43 194)
HSLhsl(307.63 68.92% 50.78%)
OKLCHoklch(0.62 0.25 334.25)
CMYKcmyk(0% 80.09% 10.19% 15.29%)
Android#ffd82bc2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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