Skip to content
Vectorlight.net

#b237ec

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

HEX
#b237ec
RGB
178, 55, 236
HSL
280.77°, 82.65%, 57.06%
OKLCH
0.6 0.26 311.9
Names
—
Lists

Codes

FormatValue
HEX#b237ec
RGBrgb(178 55 236)
HSLhsl(280.77 82.65% 57.06%)
OKLCHoklch(0.6 0.26 311.9)
CMYKcmyk(24.58% 76.69% 0% 7.45%)
Android#ffb237ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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