Skip to content
Vectorlight.net

#d940ee

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

HEX
#d940ee
RGB
217, 64, 238
HSL
292.76°, 83.65%, 59.22%
OKLCH
0.66 0.26 322.56
Names
—
Lists

Codes

FormatValue
HEX#d940ee
RGBrgb(217 64 238)
HSLhsl(292.76 83.65% 59.22%)
OKLCHoklch(0.66 0.26 322.56)
CMYKcmyk(8.82% 73.11% 0% 6.67%)
Android#ffd940ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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