#872DFD Color

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

Color preview

#872DFD

Color formats

HEX
#872DFD
RGB
rgb(135, 45, 253)
RGBA
rgba(135, 45, 253, 1)
HSL
hsl(266, 98%, 58%)
HSV
hsv(266, 82%, 99%)
CMYK
cmyk(47%, 82%, 0%, 1%)
CSS variable
--color-primary: #872DFD;
Lowercase HEX
#872dfd

Shades

Tints

Tones

Harmony

CSS snippets for #872DFD

.color-872dfd {
  color: #872DFD;
  background-color: #872DFD;
}

Frequently asked questions

What color is #872DFD?+

#872DFD is a HEX color with RGB value rgb(135, 45, 253) and HSL value hsl(266, 98%, 58%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #872DFD?+

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