Skip to content
Vectorlight.net

#b845eb

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

HEX
#b845eb
RGB
184, 69, 235
HSL
281.57°, 80.58%, 59.61%
OKLCH
0.62 0.24 313.25
Names
—
Lists

Codes

FormatValue
HEX#b845eb
RGBrgb(184 69 235)
HSLhsl(281.57 80.58% 59.61%)
OKLCHoklch(0.62 0.24 313.25)
CMYKcmyk(21.7% 70.64% 0% 7.84%)
Android#ffb845eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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