#AF5BEC Color

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

Color preview

#AF5BEC

Color formats

HEX
#AF5BEC
RGB
rgb(175, 91, 236)
RGBA
rgba(175, 91, 236, 1)
HSL
hsl(275, 79%, 64%)
HSV
hsv(275, 61%, 93%)
CMYK
cmyk(26%, 61%, 0%, 7%)
CSS variable
--color-primary: #AF5BEC;
Lowercase HEX
#af5bec

Shades

Tints

Tones

Harmony

CSS snippets for #AF5BEC

.color-af5bec {
  color: #AF5BEC;
  background-color: #AF5BEC;
}

Frequently asked questions

What color is #AF5BEC?+

#AF5BEC is a HEX color with RGB value rgb(175, 91, 236) and HSL value hsl(275, 79%, 64%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #AF5BEC?+

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