#AF89C7 Color

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

Color preview

#AF89C7

Color formats

HEX
#AF89C7
RGB
rgb(175, 137, 199)
RGBA
rgba(175, 137, 199, 1)
HSL
hsl(277, 36%, 66%)
HSV
hsv(277, 31%, 78%)
CMYK
cmyk(12%, 31%, 0%, 22%)
CSS variable
--color-primary: #AF89C7;
Lowercase HEX
#af89c7

Shades

Tints

Tones

Harmony

CSS snippets for #AF89C7

.color-af89c7 {
  color: #AF89C7;
  background-color: #AF89C7;
}

Frequently asked questions

What color is #AF89C7?+

#AF89C7 is a HEX color with RGB value rgb(175, 137, 199) and HSL value hsl(277, 36%, 66%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF89C7?+

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