#AF2DFB Color

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

Color preview

#AF2DFB

Color formats

HEX
#AF2DFB
RGB
rgb(175, 45, 251)
RGBA
rgba(175, 45, 251, 1)
HSL
hsl(278, 96%, 58%)
HSV
hsv(278, 82%, 98%)
CMYK
cmyk(30%, 82%, 0%, 2%)
CSS variable
--color-primary: #AF2DFB;
Lowercase HEX
#af2dfb

Shades

Tints

Tones

Harmony

CSS snippets for #AF2DFB

.color-af2dfb {
  color: #AF2DFB;
  background-color: #AF2DFB;
}

Frequently asked questions

What color is #AF2DFB?+

#AF2DFB is a HEX color with RGB value rgb(175, 45, 251) and HSL value hsl(278, 96%, 58%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #AF2DFB?+

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