#B271B4 Color

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

Color preview

#B271B4

Color formats

HEX
#B271B4
RGB
rgb(178, 113, 180)
RGBA
rgba(178, 113, 180, 1)
HSL
hsl(298, 31%, 57%)
HSV
hsv(298, 37%, 71%)
CMYK
cmyk(1%, 37%, 0%, 29%)
CSS variable
--color-primary: #B271B4;
Lowercase HEX
#b271b4

Shades

Tints

Tones

Harmony

CSS snippets for #B271B4

.color-b271b4 {
  color: #B271B4;
  background-color: #B271B4;
}

Frequently asked questions

What color is #B271B4?+

#B271B4 is a HEX color with RGB value rgb(178, 113, 180) and HSL value hsl(298, 31%, 57%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #B271B4?+

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