Skip to content
Vectorlight.net

#d374ef

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

HEX
#d374ef
RGB
211, 116, 239
HSL
286.34°, 79.35%, 69.61%
OKLCH
0.71 0.19 318.09
Names
—
Lists

Codes

FormatValue
HEX#d374ef
RGBrgb(211 116 239)
HSLhsl(286.34 79.35% 69.61%)
OKLCHoklch(0.71 0.19 318.09)
CMYKcmyk(11.72% 51.46% 0% 6.27%)
Android#ffd374ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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