Skip to content
Vectorlight.net

#dc5aff

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

HEX
#dc5aff
RGB
220, 90, 255
HSL
287.27°, 100%, 67.65%
OKLCH
0.7 0.25 318.41
Names
—
Lists

Codes

FormatValue
HEX#dc5aff
RGBrgb(220 90 255)
HSLhsl(287.27 100% 67.65%)
OKLCHoklch(0.7 0.25 318.41)
CMYKcmyk(13.73% 64.71% 0% 0%)
Android#ffdc5aff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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