Skip to content
Vectorlight.net

#e2acfc

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

HEX
#e2acfc
RGB
226, 172, 252
HSL
280.5°, 93.02%, 83.14%
OKLCH
0.82 0.12 314.43
Names
—
Lists

Codes

FormatValue
HEX#e2acfc
RGBrgb(226 172 252)
HSLhsl(280.5 93.02% 83.14%)
OKLCHoklch(0.82 0.12 314.43)
CMYKcmyk(10.32% 31.75% 0% 1.18%)
Android#ffe2acfc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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