#7940D4 Color

Inspect #7940D4 across formats, palettes, contrast and closest named color matches.

Color preview

#7940D4

Color formats

HEX
#7940D4
RGB
rgb(121, 64, 212)
RGBA
rgba(121, 64, 212, 1)
HSL
hsl(263, 63%, 54%)
HSV
hsv(263, 70%, 83%)
CMYK
cmyk(43%, 70%, 0%, 17%)
CSS variable
--color-primary: #7940D4;
Lowercase HEX
#7940d4

Shades

Tints

Tones

Harmony

CSS snippets for #7940D4

.color-7940d4 {
  color: #7940D4;
  background-color: #7940D4;
}

Frequently asked questions

What color is #7940D4?+

#7940D4 is a HEX color with RGB value rgb(121, 64, 212) and HSL value hsl(263, 63%, 54%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #7940D4?+

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