#D940ED Color

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

Color preview

#D940ED

Color formats

HEX
#D940ED
RGB
rgb(217, 64, 237)
RGBA
rgba(217, 64, 237, 1)
HSL
hsl(293, 83%, 59%)
HSV
hsv(293, 73%, 93%)
CMYK
cmyk(8%, 73%, 0%, 7%)
CSS variable
--color-primary: #D940ED;
Lowercase HEX
#d940ed

Shades

Tints

Tones

Harmony

CSS snippets for #D940ED

.color-d940ed {
  color: #D940ED;
  background-color: #D940ED;
}

Frequently asked questions

What color is #D940ED?+

#D940ED is a HEX color with RGB value rgb(217, 64, 237) and HSL value hsl(293, 83%, 59%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #D940ED?+

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