#9F42F6 Color

Inspect #9F42F6 across formats, palettes, contrast and closest named color matches.

Color preview

#9F42F6

Color formats

HEX
#9F42F6
RGB
rgb(159, 66, 246)
RGBA
rgba(159, 66, 246, 1)
HSL
hsl(271, 91%, 61%)
HSV
hsv(271, 73%, 96%)
CMYK
cmyk(35%, 73%, 0%, 4%)
CSS variable
--color-primary: #9F42F6;
Lowercase HEX
#9f42f6

Shades

Tints

Tones

Harmony

CSS snippets for #9F42F6

.color-9f42f6 {
  color: #9F42F6;
  background-color: #9F42F6;
}

Frequently asked questions

What color is #9F42F6?+

#9F42F6 is a HEX color with RGB value rgb(159, 66, 246) and HSL value hsl(271, 91%, 61%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #9F42F6?+

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