#7871B4 Color

Inspect #7871B4 across formats, palettes, contrast and closest named color matches.

Color preview

#7871B4

Color formats

HEX
#7871B4
RGB
rgb(120, 113, 180)
RGBA
rgba(120, 113, 180, 1)
HSL
hsl(246, 31%, 57%)
HSV
hsv(246, 37%, 71%)
CMYK
cmyk(33%, 37%, 0%, 29%)
CSS variable
--color-primary: #7871B4;
Lowercase HEX
#7871b4

Shades

Tints

Tones

Harmony

CSS snippets for #7871B4

.color-7871b4 {
  color: #7871B4;
  background-color: #7871B4;
}

Frequently asked questions

What color is #7871B4?+

#7871B4 is a HEX color with RGB value rgb(120, 113, 180) and HSL value hsl(246, 31%, 57%). Its closest CSS named color is LightSlateGray.

What is the closest Tailwind color to #7871B4?+

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