#840FEB Color

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

Color preview

#840FEB

Color formats

HEX
#840FEB
RGB
rgb(132, 15, 235)
RGBA
rgba(132, 15, 235, 1)
HSL
hsl(272, 88%, 49%)
HSV
hsv(272, 94%, 92%)
CMYK
cmyk(44%, 94%, 0%, 8%)
CSS variable
--color-primary: #840FEB;
Lowercase HEX
#840feb

Shades

Tints

Tones

Harmony

CSS snippets for #840FEB

.color-840feb {
  color: #840FEB;
  background-color: #840FEB;
}

Frequently asked questions

What color is #840FEB?+

#840FEB is a HEX color with RGB value rgb(132, 15, 235) and HSL value hsl(272, 88%, 49%). Its closest CSS named color is BlueViolet.

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

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