#9876B2 Color

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

Color preview

#9876B2

Color formats

HEX
#9876B2
RGB
rgb(152, 118, 178)
RGBA
rgba(152, 118, 178, 1)
HSL
hsl(274, 28%, 58%)
HSV
hsv(274, 34%, 70%)
CMYK
cmyk(15%, 34%, 0%, 30%)
CSS variable
--color-primary: #9876B2;
Lowercase HEX
#9876b2

Shades

Tints

Tones

Harmony

CSS snippets for #9876B2

.color-9876b2 {
  color: #9876B2;
  background-color: #9876B2;
}

Frequently asked questions

What color is #9876B2?+

#9876B2 is a HEX color with RGB value rgb(152, 118, 178) and HSL value hsl(274, 28%, 58%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #9876B2?+

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