Skip to content
Vectorlight.net

#d45fe1

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

HEX
#d45fe1
RGB
212, 95, 225
HSL
294°, 68.42%, 62.75%
OKLCH
0.68 0.21 323.56
Names
—
Lists

Codes

FormatValue
HEX#d45fe1
RGBrgb(212 95 225)
HSLhsl(294 68.42% 62.75%)
OKLCHoklch(0.68 0.21 323.56)
CMYKcmyk(5.78% 57.78% 0% 11.76%)
Android#ffd45fe1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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