Skip to content
Vectorlight.net

#b24cd4

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

HEX
#b24cd4
RGB
178, 76, 212
HSL
285°, 61.26%, 56.47%
OKLCH
0.61 0.21 316.63
Names
—
Lists

Codes

FormatValue
HEX#b24cd4
RGBrgb(178 76 212)
HSLhsl(285 61.26% 56.47%)
OKLCHoklch(0.61 0.21 316.63)
CMYKcmyk(16.04% 64.15% 0% 16.86%)
Android#ffb24cd4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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