#AF4BFB Color

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

Color preview

#AF4BFB

Color formats

HEX
#AF4BFB
RGB
rgb(175, 75, 251)
RGBA
rgba(175, 75, 251, 1)
HSL
hsl(274, 96%, 64%)
HSV
hsv(274, 70%, 98%)
CMYK
cmyk(30%, 70%, 0%, 2%)
CSS variable
--color-primary: #AF4BFB;
Lowercase HEX
#af4bfb

Shades

Tints

Tones

Harmony

CSS snippets for #AF4BFB

.color-af4bfb {
  color: #AF4BFB;
  background-color: #AF4BFB;
}

Frequently asked questions

What color is #AF4BFB?+

#AF4BFB is a HEX color with RGB value rgb(175, 75, 251) and HSL value hsl(274, 96%, 64%). Its closest CSS named color is MediumOrchid.

What is the closest Tailwind color to #AF4BFB?+

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