#B257A2 Color

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

Color preview

#B257A2

Color formats

HEX
#B257A2
RGB
rgb(178, 87, 162)
RGBA
rgba(178, 87, 162, 1)
HSL
hsl(311, 37%, 52%)
HSV
hsv(311, 51%, 70%)
CMYK
cmyk(0%, 51%, 9%, 30%)
CSS variable
--color-primary: #B257A2;
Lowercase HEX
#b257a2

Shades

Tints

Tones

Harmony

CSS snippets for #B257A2

.color-b257a2 {
  color: #B257A2;
  background-color: #B257A2;
}

Frequently asked questions

What color is #B257A2?+

#B257A2 is a HEX color with RGB value rgb(178, 87, 162) and HSL value hsl(311, 37%, 52%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #B257A2?+

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