Skip to content
Vectorlight.net

#b938ea

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

HEX
#b938ea
RGB
185, 56, 234
HSL
283.48°, 80.91%, 56.86%
OKLCH
0.61 0.26 314.49
Names
—
Lists

Codes

FormatValue
HEX#b938ea
RGBrgb(185 56 234)
HSLhsl(283.48 80.91% 56.86%)
OKLCHoklch(0.61 0.26 314.49)
CMYKcmyk(20.94% 76.07% 0% 8.24%)
Android#ffb938ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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