#B798F9 Color

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

Color preview

#B798F9

Color formats

HEX
#B798F9
RGB
rgb(183, 152, 249)
RGBA
rgba(183, 152, 249, 1)
HSL
hsl(259, 89%, 79%)
HSV
hsv(259, 39%, 98%)
CMYK
cmyk(27%, 39%, 0%, 2%)
CSS variable
--color-primary: #B798F9;
Lowercase HEX
#b798f9

Shades

Tints

Tones

Harmony

CSS snippets for #B798F9

.color-b798f9 {
  color: #B798F9;
  background-color: #B798F9;
}

Frequently asked questions

What color is #B798F9?+

#B798F9 is a HEX color with RGB value rgb(183, 152, 249) and HSL value hsl(259, 89%, 79%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #B798F9?+

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