#9B5DCB Color

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

Color preview

#9B5DCB

Color formats

HEX
#9B5DCB
RGB
rgb(155, 93, 203)
RGBA
rgba(155, 93, 203, 1)
HSL
hsl(274, 51%, 58%)
HSV
hsv(274, 54%, 80%)
CMYK
cmyk(24%, 54%, 0%, 20%)
CSS variable
--color-primary: #9B5DCB;
Lowercase HEX
#9b5dcb

Shades

Tints

Tones

Harmony

CSS snippets for #9B5DCB

.color-9b5dcb {
  color: #9B5DCB;
  background-color: #9B5DCB;
}

Frequently asked questions

What color is #9B5DCB?+

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

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

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