#7840EA Color

Inspect #7840EA across formats, palettes, contrast and closest named color matches.

Color preview

#7840EA

Color formats

HEX
#7840EA
RGB
rgb(120, 64, 234)
RGBA
rgba(120, 64, 234, 1)
HSL
hsl(260, 80%, 58%)
HSV
hsv(260, 73%, 92%)
CMYK
cmyk(49%, 73%, 0%, 8%)
CSS variable
--color-primary: #7840EA;
Lowercase HEX
#7840ea

Shades

Tints

Tones

Harmony

CSS snippets for #7840EA

.color-7840ea {
  color: #7840EA;
  background-color: #7840EA;
}

Frequently asked questions

What color is #7840EA?+

#7840EA is a HEX color with RGB value rgb(120, 64, 234) and HSL value hsl(260, 80%, 58%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #7840EA?+

The closest Tailwind color is violet-600, available as the bg-violet-600 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