#786BCB Color

Inspect #786BCB across formats, palettes, contrast and closest named color matches.

Color preview

#786BCB

Color formats

HEX
#786BCB
RGB
rgb(120, 107, 203)
RGBA
rgba(120, 107, 203, 1)
HSL
hsl(248, 48%, 61%)
HSV
hsv(248, 47%, 80%)
CMYK
cmyk(41%, 47%, 0%, 20%)
CSS variable
--color-primary: #786BCB;
Lowercase HEX
#786bcb

Shades

Tints

Tones

Harmony

CSS snippets for #786BCB

.color-786bcb {
  color: #786BCB;
  background-color: #786BCB;
}

Frequently asked questions

What color is #786BCB?+

#786BCB is a HEX color with RGB value rgb(120, 107, 203) and HSL value hsl(248, 48%, 61%). Its closest CSS named color is SlateBlue.

What is the closest Tailwind color to #786BCB?+

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