#942DFB Color

Inspect #942DFB across formats, palettes, contrast and closest named color matches.

Color preview

#942DFB

Color formats

HEX
#942DFB
RGB
rgb(148, 45, 251)
RGBA
rgba(148, 45, 251, 1)
HSL
hsl(270, 96%, 58%)
HSV
hsv(270, 82%, 98%)
CMYK
cmyk(41%, 82%, 0%, 2%)
CSS variable
--color-primary: #942DFB;
Lowercase HEX
#942dfb

Shades

Tints

Tones

Harmony

CSS snippets for #942DFB

.color-942dfb {
  color: #942DFB;
  background-color: #942DFB;
}

Frequently asked questions

What color is #942DFB?+

#942DFB is a HEX color with RGB value rgb(148, 45, 251) and HSL value hsl(270, 96%, 58%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #942DFB?+

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