#8A12BA Color

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

Color preview

#8A12BA

Color formats

HEX
#8A12BA
RGB
rgb(138, 18, 186)
RGBA
rgba(138, 18, 186, 1)
HSL
hsl(283, 82%, 40%)
HSV
hsv(283, 90%, 73%)
CMYK
cmyk(26%, 90%, 0%, 27%)
CSS variable
--color-primary: #8A12BA;
Lowercase HEX
#8a12ba

Shades

Tints

Tones

Harmony

CSS snippets for #8A12BA

.color-8a12ba {
  color: #8A12BA;
  background-color: #8A12BA;
}

Frequently asked questions

What color is #8A12BA?+

#8A12BA is a HEX color with RGB value rgb(138, 18, 186) and HSL value hsl(283, 82%, 40%). Its closest CSS named color is DarkViolet.

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

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