#B942EC Color

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

Color preview

#B942EC

Color formats

HEX
#B942EC
RGB
rgb(185, 66, 236)
RGBA
rgba(185, 66, 236, 1)
HSL
hsl(282, 82%, 59%)
HSV
hsv(282, 72%, 93%)
CMYK
cmyk(22%, 72%, 0%, 7%)
CSS variable
--color-primary: #B942EC;
Lowercase HEX
#b942ec

Shades

Tints

Tones

Harmony

CSS snippets for #B942EC

.color-b942ec {
  color: #B942EC;
  background-color: #B942EC;
}

Frequently asked questions

What color is #B942EC?+

#B942EC is a HEX color with RGB value rgb(185, 66, 236) and HSL value hsl(282, 82%, 59%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #B942EC?+

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