#AB6AFB Color

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

Color preview

#AB6AFB

Color formats

HEX
#AB6AFB
RGB
rgb(171, 106, 251)
RGBA
rgba(171, 106, 251, 1)
HSL
hsl(267, 95%, 70%)
HSV
hsv(267, 58%, 98%)
CMYK
cmyk(32%, 58%, 0%, 2%)
CSS variable
--color-primary: #AB6AFB;
Lowercase HEX
#ab6afb

Shades

Tints

Tones

Harmony

CSS snippets for #AB6AFB

.color-ab6afb {
  color: #AB6AFB;
  background-color: #AB6AFB;
}

Frequently asked questions

What color is #AB6AFB?+

#AB6AFB is a HEX color with RGB value rgb(171, 106, 251) and HSL value hsl(267, 95%, 70%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AB6AFB?+

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