Skip to content
Vectorlight.net

#b237df

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

HEX
#b237df
RGB
178, 55, 223
HSL
283.93°, 72.41%, 54.51%
OKLCH
0.59 0.25 314.98
Names
—
Lists

Codes

FormatValue
HEX#b237df
RGBrgb(178 55 223)
HSLhsl(283.93 72.41% 54.51%)
OKLCHoklch(0.59 0.25 314.98)
CMYKcmyk(20.18% 75.34% 0% 12.55%)
Android#ffb237df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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