Skip to content
Vectorlight.net

#dc5fff

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

HEX
#dc5fff
RGB
220, 95, 255
HSL
286.88°, 100%, 68.63%
OKLCH
0.7 0.24 318.17
Names
—
Lists

Codes

FormatValue
HEX#dc5fff
RGBrgb(220 95 255)
HSLhsl(286.88 100% 68.63%)
OKLCHoklch(0.7 0.24 318.17)
CMYKcmyk(13.73% 62.75% 0% 0%)
Android#ffdc5fff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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