Skip to content
Vectorlight.net

#d45bed

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

HEX
#d45bed
RGB
212, 91, 237
HSL
289.73°, 80.22%, 64.31%
OKLCH
0.68 0.23 320.42
Names
—
Lists

Codes

FormatValue
HEX#d45bed
RGBrgb(212 91 237)
HSLhsl(289.73 80.22% 64.31%)
OKLCHoklch(0.68 0.23 320.42)
CMYKcmyk(10.55% 61.6% 0% 7.06%)
Android#ffd45bed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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