#D98BEF Color

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

Color preview

#D98BEF

Color formats

HEX
#D98BEF
RGB
rgb(217, 139, 239)
RGBA
rgba(217, 139, 239, 1)
HSL
hsl(287, 76%, 74%)
HSV
hsv(287, 42%, 94%)
CMYK
cmyk(9%, 42%, 0%, 6%)
CSS variable
--color-primary: #D98BEF;
Lowercase HEX
#d98bef

Shades

Tints

Tones

Harmony

CSS snippets for #D98BEF

.color-d98bef {
  color: #D98BEF;
  background-color: #D98BEF;
}

Frequently asked questions

What color is #D98BEF?+

#D98BEF is a HEX color with RGB value rgb(217, 139, 239) and HSL value hsl(287, 76%, 74%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D98BEF?+

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