#9879CD Color

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

Color preview

#9879CD

Color formats

HEX
#9879CD
RGB
rgb(152, 121, 205)
RGBA
rgba(152, 121, 205, 1)
HSL
hsl(262, 46%, 64%)
HSV
hsv(262, 41%, 80%)
CMYK
cmyk(26%, 41%, 0%, 20%)
CSS variable
--color-primary: #9879CD;
Lowercase HEX
#9879cd

Shades

Tints

Tones

Harmony

CSS snippets for #9879CD

.color-9879cd {
  color: #9879CD;
  background-color: #9879CD;
}

Frequently asked questions

What color is #9879CD?+

#9879CD is a HEX color with RGB value rgb(152, 121, 205) and HSL value hsl(262, 46%, 64%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #9879CD?+

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