#A40CFB Color

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

Color preview

#A40CFB

Color formats

HEX
#A40CFB
RGB
rgb(164, 12, 251)
RGBA
rgba(164, 12, 251, 1)
HSL
hsl(278, 97%, 52%)
HSV
hsv(278, 95%, 98%)
CMYK
cmyk(35%, 95%, 0%, 2%)
CSS variable
--color-primary: #A40CFB;
Lowercase HEX
#a40cfb

Shades

Tints

Tones

Harmony

CSS snippets for #A40CFB

.color-a40cfb {
  color: #A40CFB;
  background-color: #A40CFB;
}

Frequently asked questions

What color is #A40CFB?+

#A40CFB is a HEX color with RGB value rgb(164, 12, 251) and HSL value hsl(278, 97%, 52%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #A40CFB?+

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