Skip to content
Vectorlight.net

#ec9bf9

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

HEX
#ec9bf9
RGB
236, 155, 249
HSL
291.7°, 88.68%, 79.22%
OKLCH
0.8 0.15 321.86
Names
—
Lists

Codes

FormatValue
HEX#ec9bf9
RGBrgb(236 155 249)
HSLhsl(291.7 88.68% 79.22%)
OKLCHoklch(0.8 0.15 321.86)
CMYKcmyk(5.22% 37.75% 0% 2.35%)
Android#ffec9bf9

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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