#AF7FFB Color

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

Color preview

#AF7FFB

Color formats

HEX
#AF7FFB
RGB
rgb(175, 127, 251)
RGBA
rgba(175, 127, 251, 1)
HSL
hsl(263, 94%, 74%)
HSV
hsv(263, 49%, 98%)
CMYK
cmyk(30%, 49%, 0%, 2%)
CSS variable
--color-primary: #AF7FFB;
Lowercase HEX
#af7ffb

Shades

Tints

Tones

Harmony

CSS snippets for #AF7FFB

.color-af7ffb {
  color: #AF7FFB;
  background-color: #AF7FFB;
}

Frequently asked questions

What color is #AF7FFB?+

#AF7FFB is a HEX color with RGB value rgb(175, 127, 251) and HSL value hsl(263, 94%, 74%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF7FFB?+

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