#AF5EC8 Color

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

Color preview

#AF5EC8

Color formats

HEX
#AF5EC8
RGB
rgb(175, 94, 200)
RGBA
rgba(175, 94, 200, 1)
HSL
hsl(286, 49%, 58%)
HSV
hsv(286, 53%, 78%)
CMYK
cmyk(12%, 53%, 0%, 22%)
CSS variable
--color-primary: #AF5EC8;
Lowercase HEX
#af5ec8

Shades

Tints

Tones

Harmony

CSS snippets for #AF5EC8

.color-af5ec8 {
  color: #AF5EC8;
  background-color: #AF5EC8;
}

Frequently asked questions

What color is #AF5EC8?+

#AF5EC8 is a HEX color with RGB value rgb(175, 94, 200) and HSL value hsl(286, 49%, 58%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #AF5EC8?+

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