#B042F5 Color

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

Color preview

#B042F5

Color formats

HEX
#B042F5
RGB
rgb(176, 66, 245)
RGBA
rgba(176, 66, 245, 1)
HSL
hsl(277, 90%, 61%)
HSV
hsv(277, 73%, 96%)
CMYK
cmyk(28%, 73%, 0%, 4%)
CSS variable
--color-primary: #B042F5;
Lowercase HEX
#b042f5

Shades

Tints

Tones

Harmony

CSS snippets for #B042F5

.color-b042f5 {
  color: #B042F5;
  background-color: #B042F5;
}

Frequently asked questions

What color is #B042F5?+

#B042F5 is a HEX color with RGB value rgb(176, 66, 245) and HSL value hsl(277, 90%, 61%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #B042F5?+

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