#7871C6 Color

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

Color preview

#7871C6

Color formats

HEX
#7871C6
RGB
rgb(120, 113, 198)
RGBA
rgba(120, 113, 198, 1)
HSL
hsl(245, 43%, 61%)
HSV
hsv(245, 43%, 78%)
CMYK
cmyk(39%, 43%, 0%, 22%)
CSS variable
--color-primary: #7871C6;
Lowercase HEX
#7871c6

Shades

Tints

Tones

Harmony

CSS snippets for #7871C6

.color-7871c6 {
  color: #7871C6;
  background-color: #7871C6;
}

Frequently asked questions

What color is #7871C6?+

#7871C6 is a HEX color with RGB value rgb(120, 113, 198) and HSL value hsl(245, 43%, 61%). Its closest CSS named color is SlateBlue.

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

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