Skip to content
Vectorlight.net

#d546ec

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

HEX
#d546ec
RGB
213, 70, 236
HSL
291.69°, 81.37%, 60%
OKLCH
0.66 0.25 321.76
Names
—
Lists

Codes

FormatValue
HEX#d546ec
RGBrgb(213 70 236)
HSLhsl(291.69 81.37% 60%)
OKLCHoklch(0.66 0.25 321.76)
CMYKcmyk(9.75% 70.34% 0% 7.45%)
Android#ffd546ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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