#B287F2 Color

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

Color preview

#B287F2

Color formats

HEX
#B287F2
RGB
rgb(178, 135, 242)
RGBA
rgba(178, 135, 242, 1)
HSL
hsl(264, 80%, 74%)
HSV
hsv(264, 44%, 95%)
CMYK
cmyk(26%, 44%, 0%, 5%)
CSS variable
--color-primary: #B287F2;
Lowercase HEX
#b287f2

Shades

Tints

Tones

Harmony

CSS snippets for #B287F2

.color-b287f2 {
  color: #B287F2;
  background-color: #B287F2;
}

Frequently asked questions

What color is #B287F2?+

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

What is the closest Tailwind color to #B287F2?+

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