Skip to content
Vectorlight.net

#b239c4

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

HEX
#b239c4
RGB
178, 57, 196
HSL
292.23°, 54.94%, 49.61%
OKLCH
0.58 0.22 322.19
Names
—
Lists

Codes

FormatValue
HEX#b239c4
RGBrgb(178 57 196)
HSLhsl(292.23 54.94% 49.61%)
OKLCHoklch(0.58 0.22 322.19)
CMYKcmyk(9.18% 70.92% 0% 23.14%)
Android#ffb239c4

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.91:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.27:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#b239c4"
Gradient stop
<stop stop-color="#b239c4"/>
CSS variable + fill
:root { --c: #b239c4; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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