#8C12C4 Color

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

Color preview

#8C12C4

Color formats

HEX
#8C12C4
RGB
rgb(140, 18, 196)
RGBA
rgba(140, 18, 196, 1)
HSL
hsl(281, 83%, 42%)
HSV
hsv(281, 91%, 77%)
CMYK
cmyk(29%, 91%, 0%, 23%)
CSS variable
--color-primary: #8C12C4;
Lowercase HEX
#8c12c4

Shades

Tints

Tones

Harmony

CSS snippets for #8C12C4

.color-8c12c4 {
  color: #8C12C4;
  background-color: #8C12C4;
}

Frequently asked questions

What color is #8C12C4?+

#8C12C4 is a HEX color with RGB value rgb(140, 18, 196) and HSL value hsl(281, 83%, 42%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #8C12C4?+

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