#B387DB Color

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

Color preview

#B387DB

Color formats

HEX
#B387DB
RGB
rgb(179, 135, 219)
RGBA
rgba(179, 135, 219, 1)
HSL
hsl(271, 54%, 69%)
HSV
hsv(271, 38%, 86%)
CMYK
cmyk(18%, 38%, 0%, 14%)
CSS variable
--color-primary: #B387DB;
Lowercase HEX
#b387db

Shades

Tints

Tones

Harmony

CSS snippets for #B387DB

.color-b387db {
  color: #B387DB;
  background-color: #B387DB;
}

Frequently asked questions

What color is #B387DB?+

#B387DB is a HEX color with RGB value rgb(179, 135, 219) and HSL value hsl(271, 54%, 69%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B387DB?+

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