#9872C4 Color

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

Color preview

#9872C4

Color formats

HEX
#9872C4
RGB
rgb(152, 114, 196)
RGBA
rgba(152, 114, 196, 1)
HSL
hsl(268, 41%, 61%)
HSV
hsv(268, 42%, 77%)
CMYK
cmyk(22%, 42%, 0%, 23%)
CSS variable
--color-primary: #9872C4;
Lowercase HEX
#9872c4

Shades

Tints

Tones

Harmony

CSS snippets for #9872C4

.color-9872c4 {
  color: #9872C4;
  background-color: #9872C4;
}

Frequently asked questions

What color is #9872C4?+

#9872C4 is a HEX color with RGB value rgb(152, 114, 196) and HSL value hsl(268, 41%, 61%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #9872C4?+

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