Skip to content
Vectorlight.net

#845fec

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

HEX
#845fec
RGB
132, 95, 236
HSL
255.74°, 78.77%, 64.9%
OKLCH
0.6 0.2 291.06
Names
—
Lists

Codes

FormatValue
HEX#845fec
RGBrgb(132 95 236)
HSLhsl(255.74 78.77% 64.9%)
OKLCHoklch(0.6 0.2 291.06)
CMYKcmyk(44.07% 59.75% 0% 7.45%)
Android#ff845fec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #845fec;
background-color: #845fec;
bg-[#845fec]