Skip to content
Vectorlight.net

#b938ef

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

HEX
#b938ef
RGB
185, 56, 239
HSL
282.3°, 85.12%, 57.84%
OKLCH
0.61 0.26 313.34
Names
—
Lists

Codes

FormatValue
HEX#b938ef
RGBrgb(185 56 239)
HSLhsl(282.3 85.12% 57.84%)
OKLCHoklch(0.61 0.26 313.34)
CMYKcmyk(22.59% 76.57% 0% 6.27%)
Android#ffb938ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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