#8540C6 Color

Inspect #8540C6 across formats, palettes, contrast and closest named color matches.

Color preview

#8540C6

Color formats

HEX
#8540C6
RGB
rgb(133, 64, 198)
RGBA
rgba(133, 64, 198, 1)
HSL
hsl(271, 54%, 51%)
HSV
hsv(271, 68%, 78%)
CMYK
cmyk(33%, 68%, 0%, 22%)
CSS variable
--color-primary: #8540C6;
Lowercase HEX
#8540c6

Shades

Tints

Tones

Harmony

CSS snippets for #8540C6

.color-8540c6 {
  color: #8540C6;
  background-color: #8540C6;
}

Frequently asked questions

What color is #8540C6?+

#8540C6 is a HEX color with RGB value rgb(133, 64, 198) and HSL value hsl(271, 54%, 51%). Its closest CSS named color is DarkOrchid.

What is the closest Tailwind color to #8540C6?+

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