#940DC9 Color

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

Color preview

#940DC9

Color formats

HEX
#940DC9
RGB
rgb(148, 13, 201)
RGBA
rgba(148, 13, 201, 1)
HSL
hsl(283, 88%, 42%)
HSV
hsv(283, 94%, 79%)
CMYK
cmyk(26%, 94%, 0%, 21%)
CSS variable
--color-primary: #940DC9;
Lowercase HEX
#940dc9

Shades

Tints

Tones

Harmony

CSS snippets for #940DC9

.color-940dc9 {
  color: #940DC9;
  background-color: #940DC9;
}

Frequently asked questions

What color is #940DC9?+

#940DC9 is a HEX color with RGB value rgb(148, 13, 201) and HSL value hsl(283, 88%, 42%). Its closest CSS named color is DarkViolet.

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

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