#D940EA Color

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

Color preview

#D940EA

Color formats

HEX
#D940EA
RGB
rgb(217, 64, 234)
RGBA
rgba(217, 64, 234, 1)
HSL
hsl(294, 80%, 58%)
HSV
hsv(294, 73%, 92%)
CMYK
cmyk(7%, 73%, 0%, 8%)
CSS variable
--color-primary: #D940EA;
Lowercase HEX
#d940ea

Shades

Tints

Tones

Harmony

CSS snippets for #D940EA

.color-d940ea {
  color: #D940EA;
  background-color: #D940EA;
}

Frequently asked questions

What color is #D940EA?+

#D940EA is a HEX color with RGB value rgb(217, 64, 234) and HSL value hsl(294, 80%, 58%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #D940EA?+

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