Skip to content
Vectorlight.net

#d01ec8

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

HEX
#d01ec8
RGB
208, 30, 200
HSL
302.7°, 74.79%, 46.67%
OKLCH
0.6 0.26 330.42
Names
—
Lists

Codes

FormatValue
HEX#d01ec8
RGBrgb(208 30 200)
HSLhsl(302.7 74.79% 46.67%)
OKLCHoklch(0.6 0.26 330.42)
CMYKcmyk(0% 85.58% 3.85% 18.43%)
Android#ffd01ec8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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