Skip to content
Kolorvia
#840bdf

Color #840bdf

A vivid, highly saturated medium purple.

Conversions

HEX
#840bdf
RGB
rgb(132, 11, 223)
HSL
hsl(274.2, 90.6%, 45.9%)
HSV / HSB
hsv(274.2, 95.1%, 87.5%)
CMYK
cmyk(40.8%, 95.1%, 0%, 12.5%)
LAB
lab(38.68, 75.68, -78.84)
LCH
lch(38.68, 109.28, 313.83)
OKLCH
oklch(50.7%, 0.264, 301.29)
HWB
hwb(274.2, 4.3%, 12.5%)

Harmony colors

Complementary

#66df0b

Analogous

#1a0bdf
#840bdf
#df0bd0

Triadic

#840bdf
#df840b
#0bdf84

Split-complementary

#840bdf
#d0df0b
#0bdf1a

Tetradic

#840bdf
#df0b66
#66df0b
#0bdf84

Square

#840bdf
#df1a0b
#66df0b
#0bd0df

Shades

Color #840bdf mixed toward black.

#6e09ba
#580795
#420670
#2c044a
#160225

Tints

Color #840bdf mixed toward white.

#9b24f4
#af50f6
#c37cf9
#d7a7fb
#ebd3fd

Tones

Color #840bdf mixed toward gray.

#811dcd
#7f2ebc
#7c40aa
#7a5298
#786387

Accessibility

Aa White text on this color
6.79:1
Aa Black text on this color
3.09:1

White text reads better on this background (6.79:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#6665c5 · ΔE 17

Deuteranopia

#6a70be · ΔE 20.7

Tritanopia

#81ada7 · ΔE 43.2

Achromatopsia

#5b5b5b · ΔE 31.6

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

Code

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

Related colors

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

Frequently asked questions

#840bdf (#840bdf) is rgb(132, 11, 223) in RGB.

No, #840bdf 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 #840bdf, 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.