#9896DC Color

Inspect #9896DC across formats, palettes, contrast and closest named color matches.

Color preview

#9896DC

Color formats

HEX
#9896DC
RGB
rgb(152, 150, 220)
RGBA
rgba(152, 150, 220, 1)
HSL
hsl(242, 50%, 73%)
HSV
hsv(242, 32%, 86%)
CMYK
cmyk(31%, 32%, 0%, 14%)
CSS variable
--color-primary: #9896DC;
Lowercase HEX
#9896dc

Shades

Tints

Tones

Harmony

CSS snippets for #9896DC

.color-9896dc {
  color: #9896DC;
  background-color: #9896DC;
}

Frequently asked questions

What color is #9896DC?+

#9896DC is a HEX color with RGB value rgb(152, 150, 220) and HSL value hsl(242, 50%, 73%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #9896DC?+

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