Skip to content
Vectorlight.net

#b24dfa

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

HEX
#b24dfa
RGB
178, 77, 250
HSL
275.03°, 94.54%, 64.12%
OKLCH
0.63 0.25 307.39
Names
—
Lists

Codes

FormatValue
HEX#b24dfa
RGBrgb(178 77 250)
HSLhsl(275.03 94.54% 64.12%)
OKLCHoklch(0.63 0.25 307.39)
CMYKcmyk(28.8% 69.2% 0% 1.96%)
Android#ffb24dfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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