#AF8CFB Color

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

Color preview

#AF8CFB

Color formats

HEX
#AF8CFB
RGB
rgb(175, 140, 251)
RGBA
rgba(175, 140, 251, 1)
HSL
hsl(259, 93%, 77%)
HSV
hsv(259, 44%, 98%)
CMYK
cmyk(30%, 44%, 0%, 2%)
CSS variable
--color-primary: #AF8CFB;
Lowercase HEX
#af8cfb

Shades

Tints

Tones

Harmony

CSS snippets for #AF8CFB

.color-af8cfb {
  color: #AF8CFB;
  background-color: #AF8CFB;
}

Frequently asked questions

What color is #AF8CFB?+

#AF8CFB is a HEX color with RGB value rgb(175, 140, 251) and HSL value hsl(259, 93%, 77%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF8CFB?+

The closest Tailwind color is violet-400, available as the bg-violet-400 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