#8040EE Color

Inspect #8040EE across formats, palettes, contrast and closest named color matches.

Color preview

#8040EE

Color formats

HEX
#8040EE
RGB
rgb(128, 64, 238)
RGBA
rgba(128, 64, 238, 1)
HSL
hsl(262, 84%, 59%)
HSV
hsv(262, 73%, 93%)
CMYK
cmyk(46%, 73%, 0%, 7%)
CSS variable
--color-primary: #8040EE;
Lowercase HEX
#8040ee

Shades

Tints

Tones

Harmony

CSS snippets for #8040EE

.color-8040ee {
  color: #8040EE;
  background-color: #8040EE;
}

Frequently asked questions

What color is #8040EE?+

#8040EE is a HEX color with RGB value rgb(128, 64, 238) and HSL value hsl(262, 84%, 59%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #8040EE?+

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