#8A2DDC Color

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

Color preview

#8A2DDC

Color formats

HEX
#8A2DDC
RGB
rgb(138, 45, 220)
RGBA
rgba(138, 45, 220, 1)
HSL
hsl(272, 71%, 52%)
HSV
hsv(272, 80%, 86%)
CMYK
cmyk(37%, 80%, 0%, 14%)
CSS variable
--color-primary: #8A2DDC;
Lowercase HEX
#8a2ddc

Shades

Tints

Tones

Harmony

CSS snippets for #8A2DDC

.color-8a2ddc {
  color: #8A2DDC;
  background-color: #8A2DDC;
}

Frequently asked questions

What color is #8A2DDC?+

#8A2DDC is a HEX color with RGB value rgb(138, 45, 220) and HSL value hsl(272, 71%, 52%). Its closest CSS named color is BlueViolet.

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

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