Skip to content
Vectorlight.net

#d370eb

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

HEX
#d370eb
RGB
211, 112, 235
HSL
288.29°, 75.46%, 68.04%
OKLCH
0.7 0.2 319.51
Names
—
Lists

Codes

FormatValue
HEX#d370eb
RGBrgb(211 112 235)
HSLhsl(288.29 75.46% 68.04%)
OKLCHoklch(0.7 0.2 319.51)
CMYKcmyk(10.21% 52.34% 0% 7.84%)
Android#ffd370eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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