#D040F8 Color

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

Color preview

#D040F8

Color formats

HEX
#D040F8
RGB
rgb(208, 64, 248)
RGBA
rgba(208, 64, 248, 1)
HSL
hsl(287, 93%, 61%)
HSV
hsv(287, 74%, 97%)
CMYK
cmyk(16%, 74%, 0%, 3%)
CSS variable
--color-primary: #D040F8;
Lowercase HEX
#d040f8

Shades

Tints

Tones

Harmony

CSS snippets for #D040F8

.color-d040f8 {
  color: #D040F8;
  background-color: #D040F8;
}

Frequently asked questions

What color is #D040F8?+

#D040F8 is a HEX color with RGB value rgb(208, 64, 248) and HSL value hsl(287, 93%, 61%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #D040F8?+

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