#9787E6 Color

Inspect #9787E6 across formats, palettes, contrast and closest named color matches.

Color preview

#9787E6

Color formats

HEX
#9787E6
RGB
rgb(151, 135, 230)
RGBA
rgba(151, 135, 230, 1)
HSL
hsl(250, 66%, 72%)
HSV
hsv(250, 41%, 90%)
CMYK
cmyk(34%, 41%, 0%, 10%)
CSS variable
--color-primary: #9787E6;
Lowercase HEX
#9787e6

Shades

Tints

Tones

Harmony

CSS snippets for #9787E6

.color-9787e6 {
  color: #9787E6;
  background-color: #9787E6;
}

Frequently asked questions

What color is #9787E6?+

#9787E6 is a HEX color with RGB value rgb(151, 135, 230) and HSL value hsl(250, 66%, 72%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #9787E6?+

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