Skip to content
Vectorlight.net

#ec9aeb

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

HEX
#ec9aeb
RGB
236, 154, 235
HSL
300.73°, 68.33%, 76.47%
OKLCH
0.79 0.14 327.23
Names
—
Lists

Codes

FormatValue
HEX#ec9aeb
RGBrgb(236 154 235)
HSLhsl(300.73 68.33% 76.47%)
OKLCHoklch(0.79 0.14 327.23)
CMYKcmyk(0% 34.75% 0.42% 7.45%)
Android#ffec9aeb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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