Skip to content
Vectorlight.net

#ecb8fd

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

HEX
#ecb8fd
RGB
236, 184, 253
HSL
285.22°, 94.52%, 85.69%
OKLCH
0.85 0.11 317.68
Names
—
Lists

Codes

FormatValue
HEX#ecb8fd
RGBrgb(236 184 253)
HSLhsl(285.22 94.52% 85.69%)
OKLCHoklch(0.85 0.11 317.68)
CMYKcmyk(6.72% 27.27% 0% 0.78%)
Android#ffecb8fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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