#7A2ABB Color Information

Hex color code: #7A2ABB

The hex color #7A2ABB is a neutral purple with RGB values of (122, 42, 187) and HSL of (273°, 63%, 45%). It is commonly used in modern UI design.

Try:
Color NameDark Orchid
HEX
#7A2ABB
RGB
122, 42, 187
HSL
273°, 63%, 45%
CMYK
35%, 78%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #7A2ABB; 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 #7A2ABB; background-color: #7A2ABB15; }

Alert / Toast

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

Link / Accent

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

a { color: #7A2ABB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

122, 42, 187

Red: 122 / Green: 42 / Blue: 187

HSL

273°, 63%, 45%

Hue: 273° / Saturation: 63% / Lightness: 45%

CMYK

35%, 78%, 0%, 27%

Cyan: 35% / Magenta: 78% / Yellow: 0% / Key: 27%

What color is #7A2ABB?

#7A2ABB is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7A2ABB to RGB:

rgb(122, 42, 187)HEX to RGB Converter →

HEX to HSL

Convert #7A2ABB to HSL:

hsl(273, 63%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #7A2ABB to CMYK:

cmyk(35%, 78%, 0%, 27%)Color Converter →

Color Meaning and Usage

A subtle purple tone, #7A2ABB has RGB (122, 42, 187) and HSL (273°, 63%, 45%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7A2ABB is #6CBB2A, creating high-contrast pairings. For softer combinations, try analogous colors like #322ABB.

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

Contrast with #7A2ABB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7A2ABB?

#7A2ABB is a subtle purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #7A2ABB?

#7A2ABB in RGB is (122, 42, 187) - 122 red, 42 green, and 187 blue.

How to use #7A2ABB in CSS?

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

What colors go well with #7A2ABB?

#6CBB2A (complementary), #322ABB (analogous), and #511C7D (lighter shade) work well with #7A2ABB.