#9B8DFA Color

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

Color preview

#9B8DFA

Color formats

HEX
#9B8DFA
RGB
rgb(155, 141, 250)
RGBA
rgba(155, 141, 250, 1)
HSL
hsl(248, 92%, 77%)
HSV
hsv(248, 44%, 98%)
CMYK
cmyk(38%, 44%, 0%, 2%)
CSS variable
--color-primary: #9B8DFA;
Lowercase HEX
#9b8dfa

Shades

Tints

Tones

Harmony

CSS snippets for #9B8DFA

.color-9b8dfa {
  color: #9B8DFA;
  background-color: #9B8DFA;
}

Frequently asked questions

What color is #9B8DFA?+

#9B8DFA is a HEX color with RGB value rgb(155, 141, 250) and HSL value hsl(248, 92%, 77%). Its closest CSS named color is MediumPurple.

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

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