Skip to content
Vectorlight.net

#b238ef

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

HEX
#b238ef
RGB
178, 56, 239
HSL
280°, 85.12%, 57.84%
OKLCH
0.6 0.26 311.17
Names
—
Lists

Codes

FormatValue
HEX#b238ef
RGBrgb(178 56 239)
HSLhsl(280 85.12% 57.84%)
OKLCHoklch(0.6 0.26 311.17)
CMYKcmyk(25.52% 76.57% 0% 6.27%)
Android#ffb238ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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