#787EC2 Color

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

Color preview

#787EC2

Color formats

HEX
#787EC2
RGB
rgb(120, 126, 194)
RGBA
rgba(120, 126, 194, 1)
HSL
hsl(235, 38%, 62%)
HSV
hsv(235, 38%, 76%)
CMYK
cmyk(38%, 35%, 0%, 24%)
CSS variable
--color-primary: #787EC2;
Lowercase HEX
#787ec2

Shades

Tints

Tones

Harmony

CSS snippets for #787EC2

.color-787ec2 {
  color: #787EC2;
  background-color: #787EC2;
}

Frequently asked questions

What color is #787EC2?+

#787EC2 is a HEX color with RGB value rgb(120, 126, 194) and HSL value hsl(235, 38%, 62%). Its closest CSS named color is MediumPurple.

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

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