Skip to content
Vectorlight.net

#b24cdc

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

HEX
#b24cdc
RGB
178, 76, 220
HSL
282.5°, 67.29%, 58.04%
OKLCH
0.61 0.22 314.48
Names
—
Lists

Codes

FormatValue
HEX#b24cdc
RGBrgb(178 76 220)
HSLhsl(282.5 67.29% 58.04%)
OKLCHoklch(0.61 0.22 314.48)
CMYKcmyk(19.09% 65.45% 0% 13.73%)
Android#ffb24cdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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