Skip to content
Vectorlight.net

#d54cd4

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

HEX
#d54cd4
RGB
213, 76, 212
HSL
300.44°, 61.99%, 56.67%
OKLCH
0.65 0.23 328.11
Names
—
Lists

Codes

FormatValue
HEX#d54cd4
RGBrgb(213 76 212)
HSLhsl(300.44 61.99% 56.67%)
OKLCHoklch(0.65 0.23 328.11)
CMYKcmyk(0% 64.32% 0.47% 16.47%)
Android#ffd54cd4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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