#7C2ABB Color Information

Hex color code: #7C2ABB

The hex color #7C2ABB is a understated purple with RGB values of (124, 42, 187) and HSL of (274°, 63%, 45%). It is widely used in graphic design.

Try:
Color NameDark Orchid
HEX
#7C2ABB
RGB
124, 42, 187
HSL
274°, 63%, 45%
CMYK
34%, 78%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #7C2ABB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

124, 42, 187

Red: 124 / Green: 42 / Blue: 187

HSL

274°, 63%, 45%

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

CMYK

34%, 78%, 0%, 27%

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

What color is #7C2ABB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7C2ABB to RGB:

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

HEX to HSL

Convert #7C2ABB to HSL:

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

HEX to CMYK

Convert #7C2ABB to CMYK:

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

Color Meaning and Usage

A understated purple tone, #7C2ABB has RGB (124, 42, 187) and HSL (274°, 63%, 45%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7C2ABB is #69BB2A, creating high-contrast pairings. For softer combinations, try analogous colors like #342ABB.

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

Contrast with #7C2ABB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7C2ABB?

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

What is the RGB value of #7C2ABB?

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

How to use #7C2ABB in CSS?

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

What colors go well with #7C2ABB?

#69BB2A (complementary), #342ABB (analogous), and #531C7D (lighter shade) work well with #7C2ABB.