#8C7DF3 Color Information

Hex color code: #8C7DF3

#8C7DF3 is a eye-catching blue color. In RGB it is (140, 125, 243), and in HSL it is (248°, 83%, 72%). It is popular in mobile app design.

Try:
Color NameMedium Slate Blue
HEX
#8C7DF3
RGB
140, 125, 243
HSL
248°, 83%, 72%
CMYK
42%, 49%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #8C7DF3; color: #000000; }

Badge

New Feature
.badge { background-color: #8C7DF3; color: #000000; }

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 #8C7DF3; background-color: #8C7DF315; }

Alert / Toast

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

Link / Accent

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

a { color: #8C7DF3; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

140, 125, 243

Red: 140 / Green: 125 / Blue: 243

HSL

248°, 83%, 72%

Hue: 248° / Saturation: 83% / Lightness: 72%

CMYK

42%, 49%, 0%, 5%

Cyan: 42% / Magenta: 49% / Yellow: 0% / Key: 5%

What color is #8C7DF3?

#8C7DF3 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8C7DF3 to RGB:

rgb(140, 125, 243)HEX to RGB Converter →

HEX to HSL

Convert #8C7DF3 to HSL:

hsl(248, 83%, 72%)RGB to HSL Converter →

HEX to CMYK

Convert #8C7DF3 to CMYK:

cmyk(42%, 49%, 0%, 5%)Color Converter →

Color Meaning and Usage

A vivid blue tone, #8C7DF3 has RGB (140, 125, 243) and HSL (248°, 83%, 72%). Known for evoking energy and excitement, this highly saturated hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8C7DF3 is #E3F37C, creating high-contrast pairings. For softer combinations, try analogous colors like #7CA8F3.

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

Contrast with #8C7DF3

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8C7DF3?

#8C7DF3 is a vivid blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #8C7DF3?

#8C7DF3 in RGB is (140, 125, 243) - 140 red, 125 green, and 243 blue.

How to use #8C7DF3 in CSS?

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

What colors go well with #8C7DF3?

#E3F37C (complementary), #7CA8F3 (analogous), and #4F36EC (lighter shade) work well with #8C7DF3.