#9876DB Color

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

Color preview

#9876DB

Color formats

HEX
#9876DB
RGB
rgb(152, 118, 219)
RGBA
rgba(152, 118, 219, 1)
HSL
hsl(260, 58%, 66%)
HSV
hsv(260, 46%, 86%)
CMYK
cmyk(31%, 46%, 0%, 14%)
CSS variable
--color-primary: #9876DB;
Lowercase HEX
#9876db

Shades

Tints

Tones

Harmony

CSS snippets for #9876DB

.color-9876db {
  color: #9876DB;
  background-color: #9876DB;
}

Frequently asked questions

What color is #9876DB?+

#9876DB is a HEX color with RGB value rgb(152, 118, 219) and HSL value hsl(260, 58%, 66%). Its closest CSS named color is MediumPurple.

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

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