#787DFA Color

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

Color preview

#787DFA

Color formats

HEX
#787DFA
RGB
rgb(120, 125, 250)
RGBA
rgba(120, 125, 250, 1)
HSL
hsl(238, 93%, 73%)
HSV
hsv(238, 52%, 98%)
CMYK
cmyk(52%, 50%, 0%, 2%)
CSS variable
--color-primary: #787DFA;
Lowercase HEX
#787dfa

Shades

Tints

Tones

Harmony

CSS snippets for #787DFA

.color-787dfa {
  color: #787DFA;
  background-color: #787DFA;
}

Frequently asked questions

What color is #787DFA?+

#787DFA is a HEX color with RGB value rgb(120, 125, 250) and HSL value hsl(238, 93%, 73%). Its closest CSS named color is MediumSlateBlue.

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

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