Skip to content
Vectorlight.net

#b24cd7

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

HEX
#b24cd7
RGB
178, 76, 215
HSL
284.03°, 63.47%, 57.06%
OKLCH
0.61 0.22 315.81
Names
—
Lists

Codes

FormatValue
HEX#b24cd7
RGBrgb(178 76 215)
HSLhsl(284.03 63.47% 57.06%)
OKLCHoklch(0.61 0.22 315.81)
CMYKcmyk(17.21% 64.65% 0% 15.69%)
Android#ffb24cd7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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