Skip to content
Vectorlight.net

#d370f5

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

HEX
#d370f5
RGB
211, 112, 245
HSL
284.66°, 86.93%, 70%
OKLCH
0.71 0.21 316.75
Names
—
Lists

Codes

FormatValue
HEX#d370f5
RGBrgb(211 112 245)
HSLhsl(284.66 86.93% 70%)
OKLCHoklch(0.71 0.21 316.75)
CMYKcmyk(13.88% 54.29% 0% 3.92%)
Android#ffd370f5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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