Skip to content
Vectorlight.net

#dc5efc

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

HEX
#dc5efc
RGB
220, 94, 252
HSL
287.85°, 96.34%, 67.84%
OKLCH
0.7 0.24 318.94
Names
—
Lists

Codes

FormatValue
HEX#dc5efc
RGBrgb(220 94 252)
HSLhsl(287.85 96.34% 67.84%)
OKLCHoklch(0.7 0.24 318.94)
CMYKcmyk(12.7% 62.7% 0% 1.18%)
Android#ffdc5efc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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