#D042F0 Color

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

Color preview

#D042F0

Color formats

HEX
#D042F0
RGB
rgb(208, 66, 240)
RGBA
rgba(208, 66, 240, 1)
HSL
hsl(289, 85%, 60%)
HSV
hsv(289, 73%, 94%)
CMYK
cmyk(13%, 73%, 0%, 6%)
CSS variable
--color-primary: #D042F0;
Lowercase HEX
#d042f0

Shades

Tints

Tones

Harmony

CSS snippets for #D042F0

.color-d042f0 {
  color: #D042F0;
  background-color: #D042F0;
}

Frequently asked questions

What color is #D042F0?+

#D042F0 is a HEX color with RGB value rgb(208, 66, 240) and HSL value hsl(289, 85%, 60%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #D042F0?+

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