Skip to content
Vectorlight.net

#d545fc

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

HEX
#d545fc
RGB
213, 69, 252
HSL
287.21°, 96.83%, 62.94%
OKLCH
0.67 0.27 318.01
Names
—
Lists

Codes

FormatValue
HEX#d545fc
RGBrgb(213 69 252)
HSLhsl(287.21 96.83% 62.94%)
OKLCHoklch(0.67 0.27 318.01)
CMYKcmyk(15.48% 72.62% 0% 1.18%)
Android#ffd545fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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