Skip to content
Vectorlight.net

#d522da

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

HEX
#d522da
RGB
213, 34, 218
HSL
298.37°, 73.02%, 49.41%
OKLCH
0.62 0.27 326.94
Names
—
Lists

Codes

FormatValue
HEX#d522da
RGBrgb(213 34 218)
HSLhsl(298.37 73.02% 49.41%)
OKLCHoklch(0.62 0.27 326.94)
CMYKcmyk(2.29% 84.4% 0% 14.51%)
Android#ffd522da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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