#D540E5 Color

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

Color preview

#D540E5

Color formats

HEX
#D540E5
RGB
rgb(213, 64, 229)
RGBA
rgba(213, 64, 229, 1)
HSL
hsl(294, 76%, 57%)
HSV
hsv(294, 72%, 90%)
CMYK
cmyk(7%, 72%, 0%, 10%)
CSS variable
--color-primary: #D540E5;
Lowercase HEX
#d540e5

Shades

Tints

Tones

Harmony

CSS snippets for #D540E5

.color-d540e5 {
  color: #D540E5;
  background-color: #D540E5;
}

Frequently asked questions

What color is #D540E5?+

#D540E5 is a HEX color with RGB value rgb(213, 64, 229) and HSL value hsl(294, 76%, 57%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #D540E5?+

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