#AF5DFB Color

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

Color preview

#AF5DFB

Color formats

HEX
#AF5DFB
RGB
rgb(175, 93, 251)
RGBA
rgba(175, 93, 251, 1)
HSL
hsl(271, 95%, 67%)
HSV
hsv(271, 63%, 98%)
CMYK
cmyk(30%, 63%, 0%, 2%)
CSS variable
--color-primary: #AF5DFB;
Lowercase HEX
#af5dfb

Shades

Tints

Tones

Harmony

CSS snippets for #AF5DFB

.color-af5dfb {
  color: #AF5DFB;
  background-color: #AF5DFB;
}

Frequently asked questions

What color is #AF5DFB?+

#AF5DFB is a HEX color with RGB value rgb(175, 93, 251) and HSL value hsl(271, 95%, 67%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #AF5DFB?+

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