Skip to content
Vectorlight.net

#dc7eca

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

HEX
#dc7eca
RGB
220, 126, 202
HSL
311.49°, 57.32%, 67.84%
OKLCH
0.72 0.15 334.47
Names
—
Lists

Codes

FormatValue
HEX#dc7eca
RGBrgb(220 126 202)
HSLhsl(311.49 57.32% 67.84%)
OKLCHoklch(0.72 0.15 334.47)
CMYKcmyk(0% 42.73% 8.18% 13.73%)
Android#ffdc7eca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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