Skip to content
Vectorlight.net

#d82aca

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

HEX
#d82aca
RGB
216, 42, 202
HSL
304.83°, 69.05%, 50.59%
OKLCH
0.62 0.26 331.96
Names
—
Lists

Codes

FormatValue
HEX#d82aca
RGBrgb(216 42 202)
HSLhsl(304.83 69.05% 50.59%)
OKLCHoklch(0.62 0.26 331.96)
CMYKcmyk(0% 80.56% 6.48% 15.29%)
Android#ffd82aca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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