Skip to content
Vectorlight.net

#dc70fb

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

HEX
#dc70fb
RGB
220, 112, 251
HSL
286.62°, 94.56%, 71.18%
OKLCH
0.72 0.22 318.2
Names
—
Lists

Codes

FormatValue
HEX#dc70fb
RGBrgb(220 112 251)
HSLhsl(286.62 94.56% 71.18%)
OKLCHoklch(0.72 0.22 318.2)
CMYKcmyk(12.35% 55.38% 0% 1.57%)
Android#ffdc70fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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