#B542EB Color

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

Color preview

#B542EB

Color formats

HEX
#B542EB
RGB
rgb(181, 66, 235)
RGBA
rgba(181, 66, 235, 1)
HSL
hsl(281, 81%, 59%)
HSV
hsv(281, 72%, 92%)
CMYK
cmyk(23%, 72%, 0%, 8%)
CSS variable
--color-primary: #B542EB;
Lowercase HEX
#b542eb

Shades

Tints

Tones

Harmony

CSS snippets for #B542EB

.color-b542eb {
  color: #B542EB;
  background-color: #B542EB;
}

Frequently asked questions

What color is #B542EB?+

#B542EB is a HEX color with RGB value rgb(181, 66, 235) and HSL value hsl(281, 81%, 59%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #B542EB?+

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