Skip to content
Vectorlight.net

#d451de

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

HEX
#d451de
RGB
212, 81, 222
HSL
295.74°, 68.12%, 59.41%
OKLCH
0.66 0.23 324.84
Names
—
Lists

Codes

FormatValue
HEX#d451de
RGBrgb(212 81 222)
HSLhsl(295.74 68.12% 59.41%)
OKLCHoklch(0.66 0.23 324.84)
CMYKcmyk(4.5% 63.51% 0% 12.94%)
Android#ffd451de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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