#8A1CDE Color

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

Color preview

#8A1CDE

Color formats

HEX
#8A1CDE
RGB
rgb(138, 28, 222)
RGBA
rgba(138, 28, 222, 1)
HSL
hsl(274, 78%, 49%)
HSV
hsv(274, 87%, 87%)
CMYK
cmyk(38%, 87%, 0%, 13%)
CSS variable
--color-primary: #8A1CDE;
Lowercase HEX
#8a1cde

Shades

Tints

Tones

Harmony

CSS snippets for #8A1CDE

.color-8a1cde {
  color: #8A1CDE;
  background-color: #8A1CDE;
}

Frequently asked questions

What color is #8A1CDE?+

#8A1CDE is a HEX color with RGB value rgb(138, 28, 222) and HSL value hsl(274, 78%, 49%). Its closest CSS named color is BlueViolet.

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

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