#7E38BC Color Information

Hex color code: #7E38BC

The hex color #7E38BC is a subtle purple with RGB values of (126, 56, 188) and HSL of (272°, 54%, 48%). It is popular in mobile app design.

Try:
Color NameDark Orchid
HEX
#7E38BC
RGB
126, 56, 188
HSL
272°, 54%, 48%
CMYK
33%, 70%, 0%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #7E38BC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

126, 56, 188

Red: 126 / Green: 56 / Blue: 188

HSL

272°, 54%, 48%

Hue: 272° / Saturation: 54% / Lightness: 48%

CMYK

33%, 70%, 0%, 26%

Cyan: 33% / Magenta: 70% / Yellow: 0% / Key: 26%

What color is #7E38BC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7E38BC to RGB:

rgb(126, 56, 188)HEX to RGB Converter →

HEX to HSL

Convert #7E38BC to HSL:

hsl(272, 54%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #7E38BC to CMYK:

cmyk(33%, 70%, 0%, 26%)Color Converter →

Color Meaning and Usage

A balanced purple tone, #7E38BC has RGB (126, 56, 188) and HSL (272°, 54%, 48%). 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 #7E38BC is #76BC38, creating high-contrast pairings. For softer combinations, try analogous colors like #3D38BC.

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

Contrast with #7E38BC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7E38BC?

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

What is the RGB value of #7E38BC?

#7E38BC in RGB is (126, 56, 188) - 126 red, 56 green, and 188 blue.

How to use #7E38BC in CSS?

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

What colors go well with #7E38BC?

#76BC38 (complementary), #3D38BC (analogous), and #572782 (lighter shade) work well with #7E38BC.