Skip to content
Vectorlight.net

#843bfb

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

HEX
#843bfb
RGB
132, 59, 251
HSL
262.81°, 96%, 60.78%
OKLCH
0.56 0.26 293.38
Names
—
Lists

Codes

FormatValue
HEX#843bfb
RGBrgb(132 59 251)
HSLhsl(262.81 96% 60.78%)
OKLCHoklch(0.56 0.26 293.38)
CMYKcmyk(47.41% 76.49% 0% 1.57%)
Android#ff843bfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.25:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.99:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#843bfb"
Gradient stop
<stop stop-color="#843bfb"/>
CSS variable + fill
:root { --c: #843bfb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #843bfb;
background-color: #843bfb;
bg-[#843bfb]