#B28AF7 Color

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

Color preview

#B28AF7

Color formats

HEX
#B28AF7
RGB
rgb(178, 138, 247)
RGBA
rgba(178, 138, 247, 1)
HSL
hsl(262, 87%, 75%)
HSV
hsv(262, 44%, 97%)
CMYK
cmyk(28%, 44%, 0%, 3%)
CSS variable
--color-primary: #B28AF7;
Lowercase HEX
#b28af7

Shades

Tints

Tones

Harmony

CSS snippets for #B28AF7

.color-b28af7 {
  color: #B28AF7;
  background-color: #B28AF7;
}

Frequently asked questions

What color is #B28AF7?+

#B28AF7 is a HEX color with RGB value rgb(178, 138, 247) and HSL value hsl(262, 87%, 75%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B28AF7?+

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