Skip to content
Vectorlight.net

#dc30e4

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

HEX
#dc30e4
RGB
220, 48, 228
HSL
297.33°, 76.92%, 54.12%
OKLCH
0.65 0.27 326.11
Names
—
Lists

Codes

FormatValue
HEX#dc30e4
RGBrgb(220 48 228)
HSLhsl(297.33 76.92% 54.12%)
OKLCHoklch(0.65 0.27 326.11)
CMYKcmyk(3.51% 78.95% 0% 10.59%)
Android#ffdc30e4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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