#B042D2 Color

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

Color preview

#B042D2

Color formats

HEX
#B042D2
RGB
rgb(176, 66, 210)
RGBA
rgba(176, 66, 210, 1)
HSL
hsl(286, 62%, 54%)
HSV
hsv(286, 69%, 82%)
CMYK
cmyk(16%, 69%, 0%, 18%)
CSS variable
--color-primary: #B042D2;
Lowercase HEX
#b042d2

Shades

Tints

Tones

Harmony

CSS snippets for #B042D2

.color-b042d2 {
  color: #B042D2;
  background-color: #B042D2;
}

Frequently asked questions

What color is #B042D2?+

#B042D2 is a HEX color with RGB value rgb(176, 66, 210) and HSL value hsl(286, 62%, 54%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #B042D2?+

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