Skip to content
Vectorlight.net

#b840ec

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

HEX
#b840ec
RGB
184, 64, 236
HSL
281.86°, 81.9%, 58.82%
OKLCH
0.62 0.25 313.31
Names
—
Lists

Codes

FormatValue
HEX#b840ec
RGBrgb(184 64 236)
HSLhsl(281.86 81.9% 58.82%)
OKLCHoklch(0.62 0.25 313.31)
CMYKcmyk(22.03% 72.88% 0% 7.45%)
Android#ffb840ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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