#940EB9 Color

Inspect #940EB9 across formats, palettes, contrast and closest named color matches.

Color preview

#940EB9

Color formats

HEX
#940EB9
RGB
rgb(148, 14, 185)
RGBA
rgba(148, 14, 185, 1)
HSL
hsl(287, 86%, 39%)
HSV
hsv(287, 92%, 73%)
CMYK
cmyk(20%, 92%, 0%, 27%)
CSS variable
--color-primary: #940EB9;
Lowercase HEX
#940eb9

Shades

Tints

Tones

Harmony

CSS snippets for #940EB9

.color-940eb9 {
  color: #940EB9;
  background-color: #940EB9;
}

Frequently asked questions

What color is #940EB9?+

#940EB9 is a HEX color with RGB value rgb(148, 14, 185) and HSL value hsl(287, 86%, 39%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #940EB9?+

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