#9D87B2 Color

Inspect #9D87B2 across formats, palettes, contrast and closest named color matches.

Color preview

#9D87B2

Color formats

HEX
#9D87B2
RGB
rgb(157, 135, 178)
RGBA
rgba(157, 135, 178, 1)
HSL
hsl(271, 22%, 61%)
HSV
hsv(271, 24%, 70%)
CMYK
cmyk(12%, 24%, 0%, 30%)
CSS variable
--color-primary: #9D87B2;
Lowercase HEX
#9d87b2

Shades

Tints

Tones

Harmony

CSS snippets for #9D87B2

.color-9d87b2 {
  color: #9D87B2;
  background-color: #9D87B2;
}

Frequently asked questions

What color is #9D87B2?+

#9D87B2 is a HEX color with RGB value rgb(157, 135, 178) and HSL value hsl(271, 22%, 61%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #9D87B2?+

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