Skip to content
Vectorlight.net

#eca2fd

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

HEX
#eca2fd
RGB
236, 162, 253
HSL
288.79°, 95.79%, 81.37%
OKLCH
0.81 0.15 319.96
Names
—
Lists

Codes

FormatValue
HEX#eca2fd
RGBrgb(236 162 253)
HSLhsl(288.79 95.79% 81.37%)
OKLCHoklch(0.81 0.15 319.96)
CMYKcmyk(6.72% 35.97% 0% 0.78%)
Android#ffeca2fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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