#9F5DCB Color

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

Color preview

#9F5DCB

Color formats

HEX
#9F5DCB
RGB
rgb(159, 93, 203)
RGBA
rgba(159, 93, 203, 1)
HSL
hsl(276, 51%, 58%)
HSV
hsv(276, 54%, 80%)
CMYK
cmyk(22%, 54%, 0%, 20%)
CSS variable
--color-primary: #9F5DCB;
Lowercase HEX
#9f5dcb

Shades

Tints

Tones

Harmony

CSS snippets for #9F5DCB

.color-9f5dcb {
  color: #9F5DCB;
  background-color: #9F5DCB;
}

Frequently asked questions

What color is #9F5DCB?+

#9F5DCB is a HEX color with RGB value rgb(159, 93, 203) and HSL value hsl(276, 51%, 58%). Its closest CSS named color is MediumPurple.

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

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