Skip to content
Vectorlight.net

#b24eca

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

HEX
#b24eca
RGB
178, 78, 202
HSL
288.39°, 53.91%, 54.9%
OKLCH
0.6 0.2 319.41
Names
—
Lists

Codes

FormatValue
HEX#b24eca
RGBrgb(178 78 202)
HSLhsl(288.39 53.91% 54.9%)
OKLCHoklch(0.6 0.2 319.41)
CMYKcmyk(11.88% 61.39% 0% 20.78%)
Android#ffb24eca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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