#D98CEB Color

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

Color preview

#D98CEB

Color formats

HEX
#D98CEB
RGB
rgb(217, 140, 235)
RGBA
rgba(217, 140, 235, 1)
HSL
hsl(289, 70%, 74%)
HSV
hsv(289, 40%, 92%)
CMYK
cmyk(8%, 40%, 0%, 8%)
CSS variable
--color-primary: #D98CEB;
Lowercase HEX
#d98ceb

Shades

Tints

Tones

Harmony

CSS snippets for #D98CEB

.color-d98ceb {
  color: #D98CEB;
  background-color: #D98CEB;
}

Frequently asked questions

What color is #D98CEB?+

#D98CEB is a HEX color with RGB value rgb(217, 140, 235) and HSL value hsl(289, 70%, 74%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D98CEB?+

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