#B787F2 Color

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

Color preview

#B787F2

Color formats

HEX
#B787F2
RGB
rgb(183, 135, 242)
RGBA
rgba(183, 135, 242, 1)
HSL
hsl(267, 80%, 74%)
HSV
hsv(267, 44%, 95%)
CMYK
cmyk(24%, 44%, 0%, 5%)
CSS variable
--color-primary: #B787F2;
Lowercase HEX
#b787f2

Shades

Tints

Tones

Harmony

CSS snippets for #B787F2

.color-b787f2 {
  color: #B787F2;
  background-color: #B787F2;
}

Frequently asked questions

What color is #B787F2?+

#B787F2 is a HEX color with RGB value rgb(183, 135, 242) and HSL value hsl(267, 80%, 74%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B787F2?+

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