Skip to content
Vectorlight.net

#b24fdf

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

HEX
#b24fdf
RGB
178, 79, 223
HSL
281.25°, 69.23%, 59.22%
OKLCH
0.62 0.22 313.48
Names
—
Lists

Codes

FormatValue
HEX#b24fdf
RGBrgb(178 79 223)
HSLhsl(281.25 69.23% 59.22%)
OKLCHoklch(0.62 0.22 313.48)
CMYKcmyk(20.18% 64.57% 0% 12.55%)
Android#ffb24fdf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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