#786FFB Color

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

Color preview

#786FFB

Color formats

HEX
#786FFB
RGB
rgb(120, 111, 251)
RGBA
rgba(120, 111, 251, 1)
HSL
hsl(244, 95%, 71%)
HSV
hsv(244, 56%, 98%)
CMYK
cmyk(52%, 56%, 0%, 2%)
CSS variable
--color-primary: #786FFB;
Lowercase HEX
#786ffb

Shades

Tints

Tones

Harmony

CSS snippets for #786FFB

.color-786ffb {
  color: #786FFB;
  background-color: #786FFB;
}

Frequently asked questions

What color is #786FFB?+

#786FFB is a HEX color with RGB value rgb(120, 111, 251) and HSL value hsl(244, 95%, 71%). Its closest CSS named color is MediumSlateBlue.

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

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