Skip to content
Vectorlight.net

#b538ed

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

HEX
#b538ed
RGB
181, 56, 237
HSL
281.44°, 83.41%, 57.45%
OKLCH
0.61 0.26 312.56
Names
—
Lists

Codes

FormatValue
HEX#b538ed
RGBrgb(181 56 237)
HSLhsl(281.44 83.41% 57.45%)
OKLCHoklch(0.61 0.26 312.56)
CMYKcmyk(23.63% 76.37% 0% 7.06%)
Android#ffb538ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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