#8012C4 Color

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

Color preview

#8012C4

Color formats

HEX
#8012C4
RGB
rgb(128, 18, 196)
RGBA
rgba(128, 18, 196, 1)
HSL
hsl(277, 83%, 42%)
HSV
hsv(277, 91%, 77%)
CMYK
cmyk(35%, 91%, 0%, 23%)
CSS variable
--color-primary: #8012C4;
Lowercase HEX
#8012c4

Shades

Tints

Tones

Harmony

CSS snippets for #8012C4

.color-8012c4 {
  color: #8012C4;
  background-color: #8012C4;
}

Frequently asked questions

What color is #8012C4?+

#8012C4 is a HEX color with RGB value rgb(128, 18, 196) and HSL value hsl(277, 83%, 42%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #8012C4?+

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