Skip to content
Vectorlight.net

#d45cfb

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

HEX
#d45cfb
RGB
212, 92, 251
HSL
285.28°, 95.21%, 67.25%
OKLCH
0.69 0.24 316.87
Names
—
Lists

Codes

FormatValue
HEX#d45cfb
RGBrgb(212 92 251)
HSLhsl(285.28 95.21% 67.25%)
OKLCHoklch(0.69 0.24 316.87)
CMYKcmyk(15.54% 63.35% 0% 1.57%)
Android#ffd45cfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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