Skip to content
Vectorlight.net

#d374eb

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

HEX
#d374eb
RGB
211, 116, 235
HSL
287.9°, 74.84%, 68.82%
OKLCH
0.71 0.19 319.25
Names
—
Lists

Codes

FormatValue
HEX#d374eb
RGBrgb(211 116 235)
HSLhsl(287.9 74.84% 68.82%)
OKLCHoklch(0.71 0.19 319.25)
CMYKcmyk(10.21% 50.64% 0% 7.84%)
Android#ffd374eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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