#AB42EC Color

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

Color preview

#AB42EC

Color formats

HEX
#AB42EC
RGB
rgb(171, 66, 236)
RGBA
rgba(171, 66, 236, 1)
HSL
hsl(277, 82%, 59%)
HSV
hsv(277, 72%, 93%)
CMYK
cmyk(28%, 72%, 0%, 7%)
CSS variable
--color-primary: #AB42EC;
Lowercase HEX
#ab42ec

Shades

Tints

Tones

Harmony

CSS snippets for #AB42EC

.color-ab42ec {
  color: #AB42EC;
  background-color: #AB42EC;
}

Frequently asked questions

What color is #AB42EC?+

#AB42EC is a HEX color with RGB value rgb(171, 66, 236) and HSL value hsl(277, 82%, 59%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #AB42EC?+

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