Skip to content
Vectorlight.net

#841cdc

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

HEX
#841cdc
RGB
132, 28, 220
HSL
272.5°, 77.42%, 48.63%
OKLCH
0.51 0.25 301.35
Names
—
Lists

Codes

FormatValue
HEX#841cdc
RGBrgb(132 28 220)
HSLhsl(272.5 77.42% 48.63%)
OKLCHoklch(0.51 0.25 301.35)
CMYKcmyk(40% 87.27% 0% 13.73%)
Android#ff841cdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #841cdc;
background-color: #841cdc;
bg-[#841cdc]