Skip to content
Vectorlight.net

#b24ffb

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

HEX
#b24ffb
RGB
178, 79, 251
HSL
274.53°, 95.56%, 64.71%
OKLCH
0.63 0.25 307.02
Names
—
Lists

Codes

FormatValue
HEX#b24ffb
RGBrgb(178 79 251)
HSLhsl(274.53 95.56% 64.71%)
OKLCHoklch(0.63 0.25 307.02)
CMYKcmyk(29.08% 68.53% 0% 1.57%)
Android#ffb24ffb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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