#8042C2 Color

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

Color preview

#8042C2

Color formats

HEX
#8042C2
RGB
rgb(128, 66, 194)
RGBA
rgba(128, 66, 194, 1)
HSL
hsl(269, 51%, 51%)
HSV
hsv(269, 66%, 76%)
CMYK
cmyk(34%, 66%, 0%, 24%)
CSS variable
--color-primary: #8042C2;
Lowercase HEX
#8042c2

Shades

Tints

Tones

Harmony

CSS snippets for #8042C2

.color-8042c2 {
  color: #8042C2;
  background-color: #8042C2;
}

Frequently asked questions

What color is #8042C2?+

#8042C2 is a HEX color with RGB value rgb(128, 66, 194) and HSL value hsl(269, 51%, 51%). Its closest CSS named color is DarkOrchid.

What is the closest Tailwind color to #8042C2?+

The closest Tailwind color is purple-700, available as the bg-purple-700 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