#AF5BFD Color

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

Color preview

#AF5BFD

Color formats

HEX
#AF5BFD
RGB
rgb(175, 91, 253)
RGBA
rgba(175, 91, 253, 1)
HSL
hsl(271, 98%, 67%)
HSV
hsv(271, 64%, 99%)
CMYK
cmyk(31%, 64%, 0%, 1%)
CSS variable
--color-primary: #AF5BFD;
Lowercase HEX
#af5bfd

Shades

Tints

Tones

Harmony

CSS snippets for #AF5BFD

.color-af5bfd {
  color: #AF5BFD;
  background-color: #AF5BFD;
}

Frequently asked questions

What color is #AF5BFD?+

#AF5BFD is a HEX color with RGB value rgb(175, 91, 253) and HSL value hsl(271, 98%, 67%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #AF5BFD?+

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