#7A51EC Color Information

Hex color code: #7A51EC

#7A51EC is a bold purple color. In RGB it is (122, 81, 236), and in HSL it is (256°, 80%, 62%). It is frequently seen in web interfaces.

Try:
Color NameMedium Slate Blue
HEX
#7A51EC
RGB
122, 81, 236
HSL
256°, 80%, 62%
CMYK
48%, 66%, 0%, 7%

Shades

CSS Usage
color: #7A51EC;
background-color: #7A51EC;
border-color: #7A51EC;
box-shadow: 0 0 10px #7A51EC;
border: 2px solid #7A51EC;
Tailwind Usage
bg-[#7A51EC]
text-[#7A51EC]
border-[#7A51EC]
shadow-[0_0_10px_7A51EC]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #7A51EC, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #7A51EC; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #7A51EC; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #7A51EC; background-color: #7A51EC15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #7A51EC20; border-left: 4px solid #7A51EC; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #7A51EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7A51EC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

122, 81, 236

Red: 122 / Green: 81 / Blue: 236

HSL

256°, 80%, 62%

Hue: 256° / Saturation: 80% / Lightness: 62%

CMYK

48%, 66%, 0%, 7%

Cyan: 48% / Magenta: 66% / Yellow: 0% / Key: 7%

What color is #7A51EC?

#7A51EC is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7A51EC to RGB:

rgb(122, 81, 236)HEX to RGB Converter →

HEX to HSL

Convert #7A51EC to HSL:

hsl(256, 80%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #7A51EC to CMYK:

cmyk(48%, 66%, 0%, 7%)Color Converter →

Color Meaning and Usage

#7A51EC is a eye-catching purple color with RGB values of 122, 81, 236 and HSL of 256°, 80%, 62%. This blue-purple hue evokes creativity and luxury, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7A51EC is #C2EC51, creating high-contrast pairings. For softer combinations, try analogous colors like #5175EC.

Use #7A51EC in CSS: color: #7A51EC or background-color: #7A51EC. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #7A51EC

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 4.22:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7A51EC?

#7A51EC is a eye-catching purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #7A51EC?

#7A51EC in RGB is (122, 81, 236) - 122 red, 81 green, and 236 blue.

How to use #7A51EC in CSS?

Use #7A51EC directly in your CSS properties like color or background-color.

What colors go well with #7A51EC?

#C2EC51 (complementary), #5175EC (analogous), and #4B18D8 (lighter shade) work well with #7A51EC.