#5126DE Color

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

Color preview

#5126DE

Color formats

HEX
#5126DE
RGB
rgb(81, 38, 222)
RGBA
rgba(81, 38, 222, 1)
HSL
hsl(254, 74%, 51%)
HSV
hsv(254, 83%, 87%)
CMYK
cmyk(64%, 83%, 0%, 13%)
CSS variable
--color-primary: #5126DE;
Lowercase HEX
#5126de

Shades

Tints

Tones

Harmony

CSS snippets for #5126DE

.color-5126de {
  color: #5126DE;
  background-color: #5126DE;
}

Frequently asked questions

What color is #5126DE?+

#5126DE is a HEX color with RGB value rgb(81, 38, 222) and HSL value hsl(254, 74%, 51%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #5126DE?+

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