Skip to content
Kolorvia
#840bc2

Color #840bc2

A vivid, highly saturated medium purple.

Conversions

HEX
#840bc2
RGB
rgb(132, 11, 194)
HSL
hsl(279.7, 89.3%, 40.2%)
HSV / HSB
hsv(279.7, 94.3%, 76.1%)
CMYK
cmyk(32%, 94.3%, 0%, 23.9%)
LAB
lab(36.06, 69.84, -66.32)
LCH
lch(36.06, 96.31, 316.48)
OKLCH
oklch(48.2%, 0.2403, 308.17)
HWB
hwb(279.7, 4.3%, 23.9%)

Harmony colors

Complementary

#49c20b

Analogous

#290bc2
#840bc2
#c20ba4

Triadic

#840bc2
#c2840b
#0bc284

Split-complementary

#840bc2
#a4c20b
#0bc229

Tetradic

#840bc2
#c20b49
#49c20b
#0bc284

Square

#840bc2
#c2290b
#49c20b
#0ba4c2

Shades

Color #840bc2 mixed toward black.

#6e09a2
#580781
#420561
#2c0441
#160220

Tints

Color #840bc2 mixed toward white.

#a50ef1
#b73ff4
#c96ff7
#db9ffa
#edcffc

Tones

Color #840bc2 mixed toward gray.

#7f1ab3
#7a29a4
#753994
#704885
#6b5776

Accessibility

Aa White text on this color
7.48:1
Aa Black text on this color
2.81:1

White text reads better on this background (7.48:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#6665ab · ΔE 19.1

Deuteranopia

#6a70a5 · ΔE 23

Tritanopia

#819791 · ΔE 39.5

Achromatopsia

#555555 · ΔE 30.4

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #840bc2;
Tailwind (arbitrary value)
bg-[#840bc2]

Related colors

Dark Orchid #9932cc
Dark Violet #9400d3
Indigo #4b0082
Medium Orchid #ba55d3
Blue Violet #8a2be2
Rebecca Purple #663399

Frequently asked questions

#840bc2 (#840bc2) is rgb(132, 11, 194) in RGB.

No, #840bc2 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #840bc2, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.