#9F42D1 Color

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

Color preview

#9F42D1

Color formats

HEX
#9F42D1
RGB
rgb(159, 66, 209)
RGBA
rgba(159, 66, 209, 1)
HSL
hsl(279, 61%, 54%)
HSV
hsv(279, 68%, 82%)
CMYK
cmyk(24%, 68%, 0%, 18%)
CSS variable
--color-primary: #9F42D1;
Lowercase HEX
#9f42d1

Shades

Tints

Tones

Harmony

CSS snippets for #9F42D1

.color-9f42d1 {
  color: #9F42D1;
  background-color: #9F42D1;
}

Frequently asked questions

What color is #9F42D1?+

#9F42D1 is a HEX color with RGB value rgb(159, 66, 209) and HSL value hsl(279, 61%, 54%). Its closest CSS named color is DarkOrchid.

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

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