Skip to content
Vectorlight.net

#d642cd

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

HEX
#d642cd
RGB
214, 66, 205
HSL
303.65°, 64.35%, 54.9%
OKLCH
0.64 0.24 330.53
Names
—
Lists

Codes

FormatValue
HEX#d642cd
RGBrgb(214 66 205)
HSLhsl(303.65 64.35% 54.9%)
OKLCHoklch(0.64 0.24 330.53)
CMYKcmyk(0% 69.16% 4.21% 16.08%)
Android#ffd642cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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