#AB42C2 Color

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

Color preview

#AB42C2

Color formats

HEX
#AB42C2
RGB
rgb(171, 66, 194)
RGBA
rgba(171, 66, 194, 1)
HSL
hsl(289, 51%, 51%)
HSV
hsv(289, 66%, 76%)
CMYK
cmyk(12%, 66%, 0%, 24%)
CSS variable
--color-primary: #AB42C2;
Lowercase HEX
#ab42c2

Shades

Tints

Tones

Harmony

CSS snippets for #AB42C2

.color-ab42c2 {
  color: #AB42C2;
  background-color: #AB42C2;
}

Frequently asked questions

What color is #AB42C2?+

#AB42C2 is a HEX color with RGB value rgb(171, 66, 194) and HSL value hsl(289, 51%, 51%). Its closest CSS named color is DarkOrchid.

What is the closest Tailwind color to #AB42C2?+

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