Skip to content
Vectorlight.net

#d331e0

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

HEX
#d331e0
RGB
211, 49, 224
HSL
295.54°, 73.84%, 53.53%
OKLCH
0.63 0.27 324.7
Names
—
Lists

Codes

FormatValue
HEX#d331e0
RGBrgb(211 49 224)
HSLhsl(295.54 73.84% 53.53%)
OKLCHoklch(0.63 0.27 324.7)
CMYKcmyk(5.8% 78.13% 0% 12.16%)
Android#ffd331e0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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