#B540C9 Color

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

Color preview

#B540C9

Color formats

HEX
#B540C9
RGB
rgb(181, 64, 201)
RGBA
rgba(181, 64, 201, 1)
HSL
hsl(291, 56%, 52%)
HSV
hsv(291, 68%, 79%)
CMYK
cmyk(10%, 68%, 0%, 21%)
CSS variable
--color-primary: #B540C9;
Lowercase HEX
#b540c9

Shades

Tints

Tones

Harmony

CSS snippets for #B540C9

.color-b540c9 {
  color: #B540C9;
  background-color: #B540C9;
}

Frequently asked questions

What color is #B540C9?+

#B540C9 is a HEX color with RGB value rgb(181, 64, 201) and HSL value hsl(291, 56%, 52%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #B540C9?+

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