#7B40CE Color Information

Hex color code: #7B40CE

#7B40CE is a serene purple color. In RGB it is (123, 64, 206), and in HSL it is (265°, 59%, 53%). It is often used for branding and logos.

Try:
Color NameSlate Blue
HEX
#7B40CE
RGB
123, 64, 206
HSL
265°, 59%, 53%
CMYK
40%, 69%, 0%, 19%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #7B40CE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

123, 64, 206

Red: 123 / Green: 64 / Blue: 206

HSL

265°, 59%, 53%

Hue: 265° / Saturation: 59% / Lightness: 53%

CMYK

40%, 69%, 0%, 19%

Cyan: 40% / Magenta: 69% / Yellow: 0% / Key: 19%

What color is #7B40CE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7B40CE to RGB:

rgb(123, 64, 206)HEX to RGB Converter →

HEX to HSL

Convert #7B40CE to HSL:

hsl(265, 59%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #7B40CE to CMYK:

cmyk(40%, 69%, 0%, 19%)Color Converter →

Color Meaning and Usage

A cool purple tone, #7B40CE has RGB (123, 64, 206) and HSL (265°, 59%, 53%). Known for evoking creativity and luxury, this blue-purple hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7B40CE is #93CE40, creating high-contrast pairings. For softer combinations, try analogous colors like #404CCE.

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

Contrast with #7B40CE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7B40CE?

#7B40CE is a cool purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #7B40CE?

#7B40CE in RGB is (123, 64, 206) - 123 red, 64 green, and 206 blue.

How to use #7B40CE in CSS?

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

What colors go well with #7B40CE?

#93CE40 (complementary), #404CCE (analogous), and #57289A (lighter shade) work well with #7B40CE.