#AF5DCC Color

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

Color preview

#AF5DCC

Color formats

HEX
#AF5DCC
RGB
rgb(175, 93, 204)
RGBA
rgba(175, 93, 204, 1)
HSL
hsl(284, 52%, 58%)
HSV
hsv(284, 54%, 80%)
CMYK
cmyk(14%, 54%, 0%, 20%)
CSS variable
--color-primary: #AF5DCC;
Lowercase HEX
#af5dcc

Shades

Tints

Tones

Harmony

CSS snippets for #AF5DCC

.color-af5dcc {
  color: #AF5DCC;
  background-color: #AF5DCC;
}

Frequently asked questions

What color is #AF5DCC?+

#AF5DCC is a HEX color with RGB value rgb(175, 93, 204) and HSL value hsl(284, 52%, 58%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #AF5DCC?+

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