#9D8DEC Color

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

Color preview

#9D8DEC

Color formats

HEX
#9D8DEC
RGB
rgb(157, 141, 236)
RGBA
rgba(157, 141, 236, 1)
HSL
hsl(250, 71%, 74%)
HSV
hsv(250, 40%, 93%)
CMYK
cmyk(33%, 40%, 0%, 7%)
CSS variable
--color-primary: #9D8DEC;
Lowercase HEX
#9d8dec

Shades

Tints

Tones

Harmony

CSS snippets for #9D8DEC

.color-9d8dec {
  color: #9D8DEC;
  background-color: #9D8DEC;
}

Frequently asked questions

What color is #9D8DEC?+

#9D8DEC is a HEX color with RGB value rgb(157, 141, 236) and HSL value hsl(250, 71%, 74%). Its closest CSS named color is MediumPurple.

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

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