Skip to content
Vectorlight.net

#d640ec

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

HEX
#d640ec
RGB
214, 64, 236
HSL
292.33°, 81.9%, 58.82%
OKLCH
0.66 0.26 322.22
Names
—
Lists

Codes

FormatValue
HEX#d640ec
RGBrgb(214 64 236)
HSLhsl(292.33 81.9% 58.82%)
OKLCHoklch(0.66 0.26 322.22)
CMYKcmyk(9.32% 72.88% 0% 7.45%)
Android#ffd640ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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