#9878C2 Color

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

Color preview

#9878C2

Color formats

HEX
#9878C2
RGB
rgb(152, 120, 194)
RGBA
rgba(152, 120, 194, 1)
HSL
hsl(266, 38%, 62%)
HSV
hsv(266, 38%, 76%)
CMYK
cmyk(22%, 38%, 0%, 24%)
CSS variable
--color-primary: #9878C2;
Lowercase HEX
#9878c2

Shades

Tints

Tones

Harmony

CSS snippets for #9878C2

.color-9878c2 {
  color: #9878C2;
  background-color: #9878C2;
}

Frequently asked questions

What color is #9878C2?+

#9878C2 is a HEX color with RGB value rgb(152, 120, 194) and HSL value hsl(266, 38%, 62%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #9878C2?+

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