Skip to content
Vectorlight.net

#d45af1

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

HEX
#d45af1
RGB
212, 90, 241
HSL
288.48°, 84.36%, 64.9%
OKLCH
0.68 0.23 319.43
Names
—
Lists

Codes

FormatValue
HEX#d45af1
RGBrgb(212 90 241)
HSLhsl(288.48 84.36% 64.9%)
OKLCHoklch(0.68 0.23 319.43)
CMYKcmyk(12.03% 62.66% 0% 5.49%)
Android#ffd45af1

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.53: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="#d45af1"
Gradient stop
<stop stop-color="#d45af1"/>
CSS variable + fill
:root { --c: #d45af1; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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