#B28AFD Color

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

Color preview

#B28AFD

Color formats

HEX
#B28AFD
RGB
rgb(178, 138, 253)
RGBA
rgba(178, 138, 253, 1)
HSL
hsl(261, 97%, 77%)
HSV
hsv(261, 45%, 99%)
CMYK
cmyk(30%, 45%, 0%, 1%)
CSS variable
--color-primary: #B28AFD;
Lowercase HEX
#b28afd

Shades

Tints

Tones

Harmony

CSS snippets for #B28AFD

.color-b28afd {
  color: #B28AFD;
  background-color: #B28AFD;
}

Frequently asked questions

What color is #B28AFD?+

#B28AFD is a HEX color with RGB value rgb(178, 138, 253) and HSL value hsl(261, 97%, 77%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #B28AFD?+

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