Skip to content
Vectorlight.net

#e340ed

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

HEX
#e340ed
RGB
227, 64, 237
HSL
296.53°, 82.78%, 59.02%
OKLCH
0.67 0.27 325.48
Names
—
Lists

Codes

FormatValue
HEX#e340ed
RGBrgb(227 64 237)
HSLhsl(296.53 82.78% 59.02%)
OKLCHoklch(0.67 0.27 325.48)
CMYKcmyk(4.22% 73% 0% 7.06%)
Android#ffe340ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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