#AF5DEF Color

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

Color preview

#AF5DEF

Color formats

HEX
#AF5DEF
RGB
rgb(175, 93, 239)
RGBA
rgba(175, 93, 239, 1)
HSL
hsl(274, 82%, 65%)
HSV
hsv(274, 61%, 94%)
CMYK
cmyk(27%, 61%, 0%, 6%)
CSS variable
--color-primary: #AF5DEF;
Lowercase HEX
#af5def

Shades

Tints

Tones

Harmony

CSS snippets for #AF5DEF

.color-af5def {
  color: #AF5DEF;
  background-color: #AF5DEF;
}

Frequently asked questions

What color is #AF5DEF?+

#AF5DEF is a HEX color with RGB value rgb(175, 93, 239) and HSL value hsl(274, 82%, 65%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #AF5DEF?+

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