Skip to content
Vectorlight.net

#dc5cfc

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

HEX
#dc5cfc
RGB
220, 92, 252
HSL
288°, 96.39%, 67.45%
OKLCH
0.7 0.25 319.03
Names
—
Lists

Codes

FormatValue
HEX#dc5cfc
RGBrgb(220 92 252)
HSLhsl(288 96.39% 67.45%)
OKLCHoklch(0.7 0.25 319.03)
CMYKcmyk(12.7% 63.49% 0% 1.18%)
Android#ffdc5cfc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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