#840CBB Color

Inspect #840CBB across formats, palettes, contrast and closest named color matches.

Color preview

#840CBB

Color formats

HEX
#840CBB
RGB
rgb(132, 12, 187)
RGBA
rgba(132, 12, 187, 1)
HSL
hsl(281, 88%, 39%)
HSV
hsv(281, 94%, 73%)
CMYK
cmyk(29%, 94%, 0%, 27%)
CSS variable
--color-primary: #840CBB;
Lowercase HEX
#840cbb

Shades

Tints

Tones

Harmony

CSS snippets for #840CBB

.color-840cbb {
  color: #840CBB;
  background-color: #840CBB;
}

Frequently asked questions

What color is #840CBB?+

#840CBB is a HEX color with RGB value rgb(132, 12, 187) and HSL value hsl(281, 88%, 39%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #840CBB?+

The closest Tailwind color is purple-700, available as the bg-purple-700 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools