#8C52EB Color Information

Hex color code: #8C52EB

#8C52EB is a vivid purple color. In RGB it is (140, 82, 235), and in HSL it is (263°, 79%, 62%). It is commonly used in modern UI design.

Try:
Color NameMedium Slate Blue
HEX
#8C52EB
RGB
140, 82, 235
HSL
263°, 79%, 62%
CMYK
40%, 65%, 0%, 8%

Shades

CSS Usage
color: #8C52EB;
background-color: #8C52EB;
border-color: #8C52EB;
box-shadow: 0 0 10px #8C52EB;
border: 2px solid #8C52EB;
Tailwind Usage
bg-[#8C52EB]
text-[#8C52EB]
border-[#8C52EB]
shadow-[0_0_10px_8C52EB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #8C52EB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #8C52EB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #8C52EB; 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 #8C52EB; background-color: #8C52EB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #8C52EB20; border-left: 4px solid #8C52EB; }

Link / Accent

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

a { color: #8C52EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #8C52EB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

140, 82, 235

Red: 140 / Green: 82 / Blue: 235

HSL

263°, 79%, 62%

Hue: 263° / Saturation: 79% / Lightness: 62%

CMYK

40%, 65%, 0%, 8%

Cyan: 40% / Magenta: 65% / Yellow: 0% / Key: 8%

What color is #8C52EB?

#8C52EB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8C52EB to RGB:

rgb(140, 82, 235)HEX to RGB Converter →

HEX to HSL

Convert #8C52EB to HSL:

hsl(263, 79%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #8C52EB to CMYK:

cmyk(40%, 65%, 0%, 8%)Color Converter →

Color Meaning and Usage

#8C52EB is a vivid purple color with RGB values of 140, 82, 235 and HSL of 263°, 79%, 62%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8C52EB is #B0EB52, creating high-contrast pairings. For softer combinations, try analogous colors like #5263EB.

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

Contrast with #8C52EB

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

Contrast Ratio: 4.52:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8C52EB?

#8C52EB is a vivid purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #8C52EB?

#8C52EB in RGB is (140, 82, 235) - 140 red, 82 green, and 235 blue.

How to use #8C52EB in CSS?

Use #8C52EB directly in your CSS properties like color or background-color.

What colors go well with #8C52EB?

#B0EB52 (complementary), #5263EB (analogous), and #6219D7 (lighter shade) work well with #8C52EB.