Skip to content
Vectorlight.net

#dc40df

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

HEX
#dc40df
RGB
220, 64, 223
HSL
298.87°, 71.3%, 56.27%
OKLCH
0.66 0.25 327.19
Names
—
Lists

Codes

FormatValue
HEX#dc40df
RGBrgb(220 64 223)
HSLhsl(298.87 71.3% 56.27%)
OKLCHoklch(0.66 0.25 327.19)
CMYKcmyk(1.35% 71.3% 0% 12.55%)
Android#ffdc40df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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