#D040ED Color

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

Color preview

#D040ED

Color formats

HEX
#D040ED
RGB
rgb(208, 64, 237)
RGBA
rgba(208, 64, 237, 1)
HSL
hsl(290, 83%, 59%)
HSV
hsv(290, 73%, 93%)
CMYK
cmyk(12%, 73%, 0%, 7%)
CSS variable
--color-primary: #D040ED;
Lowercase HEX
#d040ed

Shades

Tints

Tones

Harmony

CSS snippets for #D040ED

.color-d040ed {
  color: #D040ED;
  background-color: #D040ED;
}

Frequently asked questions

What color is #D040ED?+

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

What is the closest Tailwind color to #D040ED?+

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