#D28CFB Color

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

Color preview

#D28CFB

Color formats

HEX
#D28CFB
RGB
rgb(210, 140, 251)
RGBA
rgba(210, 140, 251, 1)
HSL
hsl(278, 93%, 77%)
HSV
hsv(278, 44%, 98%)
CMYK
cmyk(16%, 44%, 0%, 2%)
CSS variable
--color-primary: #D28CFB;
Lowercase HEX
#d28cfb

Shades

Tints

Tones

Harmony

CSS snippets for #D28CFB

.color-d28cfb {
  color: #D28CFB;
  background-color: #D28CFB;
}

Frequently asked questions

What color is #D28CFB?+

#D28CFB is a HEX color with RGB value rgb(210, 140, 251) and HSL value hsl(278, 93%, 77%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D28CFB?+

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