Skip to content
Vectorlight.net

#e28cfa

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

HEX
#e28cfa
RGB
226, 140, 250
HSL
286.91°, 91.67%, 76.47%
OKLCH
0.77 0.17 318.63
Names
—
Lists

Codes

FormatValue
HEX#e28cfa
RGBrgb(226 140 250)
HSLhsl(286.91 91.67% 76.47%)
OKLCHoklch(0.77 0.17 318.63)
CMYKcmyk(9.6% 44% 0% 1.96%)
Android#ffe28cfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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