#7D42EB Color

Inspect #7D42EB across formats, palettes, contrast and closest named color matches.

Color preview

#7D42EB

Color formats

HEX
#7D42EB
RGB
rgb(125, 66, 235)
RGBA
rgba(125, 66, 235, 1)
HSL
hsl(261, 81%, 59%)
HSV
hsv(261, 72%, 92%)
CMYK
cmyk(47%, 72%, 0%, 8%)
CSS variable
--color-primary: #7D42EB;
Lowercase HEX
#7d42eb

Shades

Tints

Tones

Harmony

CSS snippets for #7D42EB

.color-7d42eb {
  color: #7D42EB;
  background-color: #7D42EB;
}

Frequently asked questions

What color is #7D42EB?+

#7D42EB is a HEX color with RGB value rgb(125, 66, 235) and HSL value hsl(261, 81%, 59%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #7D42EB?+

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