#9887DB Color

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

Color preview

#9887DB

Color formats

HEX
#9887DB
RGB
rgb(152, 135, 219)
RGBA
rgba(152, 135, 219, 1)
HSL
hsl(252, 54%, 69%)
HSV
hsv(252, 38%, 86%)
CMYK
cmyk(31%, 38%, 0%, 14%)
CSS variable
--color-primary: #9887DB;
Lowercase HEX
#9887db

Shades

Tints

Tones

Harmony

CSS snippets for #9887DB

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

Frequently asked questions

What color is #9887DB?+

#9887DB is a HEX color with RGB value rgb(152, 135, 219) and HSL value hsl(252, 54%, 69%). Its closest CSS named color is MediumPurple.

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

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