#940DB9 Color

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

Color preview

#940DB9

Color formats

HEX
#940DB9
RGB
rgb(148, 13, 185)
RGBA
rgba(148, 13, 185, 1)
HSL
hsl(287, 87%, 39%)
HSV
hsv(287, 93%, 73%)
CMYK
cmyk(20%, 93%, 0%, 27%)
CSS variable
--color-primary: #940DB9;
Lowercase HEX
#940db9

Shades

Tints

Tones

Harmony

CSS snippets for #940DB9

.color-940db9 {
  color: #940DB9;
  background-color: #940DB9;
}

Frequently asked questions

What color is #940DB9?+

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

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

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