#AB6CFE Color

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

Color preview

#AB6CFE

Color formats

HEX
#AB6CFE
RGB
rgb(171, 108, 254)
RGBA
rgba(171, 108, 254, 1)
HSL
hsl(266, 99%, 71%)
HSV
hsv(266, 57%, 100%)
CMYK
cmyk(33%, 57%, 0%, 0%)
CSS variable
--color-primary: #AB6CFE;
Lowercase HEX
#ab6cfe

Shades

Tints

Tones

Harmony

CSS snippets for #AB6CFE

.color-ab6cfe {
  color: #AB6CFE;
  background-color: #AB6CFE;
}

Frequently asked questions

What color is #AB6CFE?+

#AB6CFE is a HEX color with RGB value rgb(171, 108, 254) and HSL value hsl(266, 99%, 71%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AB6CFE?+

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