#972DFB Color

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

Color preview

#972DFB

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #972DFB

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

Frequently asked questions

What color is #972DFB?+

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

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

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