#787AF1 Color

Inspect #787AF1 across formats, palettes, contrast and closest named color matches.

Color preview

#787AF1

Color formats

HEX
#787AF1
RGB
rgb(120, 122, 241)
RGBA
rgba(120, 122, 241, 1)
HSL
hsl(239, 81%, 71%)
HSV
hsv(239, 50%, 95%)
CMYK
cmyk(50%, 49%, 0%, 5%)
CSS variable
--color-primary: #787AF1;
Lowercase HEX
#787af1

Shades

Tints

Tones

Harmony

CSS snippets for #787AF1

.color-787af1 {
  color: #787AF1;
  background-color: #787AF1;
}

Frequently asked questions

What color is #787AF1?+

#787AF1 is a HEX color with RGB value rgb(120, 122, 241) and HSL value hsl(239, 81%, 71%). Its closest CSS named color is MediumSlateBlue.

What is the closest Tailwind color to #787AF1?+

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