#AB51DC Color

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

Color preview

#AB51DC

Color formats

HEX
#AB51DC
RGB
rgb(171, 81, 220)
RGBA
rgba(171, 81, 220, 1)
HSL
hsl(279, 67%, 59%)
HSV
hsv(279, 63%, 86%)
CMYK
cmyk(22%, 63%, 0%, 14%)
CSS variable
--color-primary: #AB51DC;
Lowercase HEX
#ab51dc

Shades

Tints

Tones

Harmony

CSS snippets for #AB51DC

.color-ab51dc {
  color: #AB51DC;
  background-color: #AB51DC;
}

Frequently asked questions

What color is #AB51DC?+

#AB51DC is a HEX color with RGB value rgb(171, 81, 220) and HSL value hsl(279, 67%, 59%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #AB51DC?+

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