#8068EC Color Information

Hex color code: #8068EC

The hex color #8068EC is a vivid blue with RGB values of (128, 104, 236) and HSL of (251°, 78%, 67%). It is commonly used in modern UI design.

Try:
Color NameMedium Slate Blue
HEX
#8068EC
RGB
128, 104, 236
HSL
251°, 78%, 67%
CMYK
46%, 56%, 0%, 7%

Shades

CSS Usage
color: #8068EC;
background-color: #8068EC;
border-color: #8068EC;
box-shadow: 0 0 10px #8068EC;
border: 2px solid #8068EC;
Tailwind Usage
bg-[#8068EC]
text-[#8068EC]
border-[#8068EC]
shadow-[0_0_10px_8068EC]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #8068EC, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #8068EC; color: #000000; }

Badge

New Feature
.badge { background-color: #8068EC; 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 #8068EC; background-color: #8068EC15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #8068EC20; border-left: 4px solid #8068EC; }

Link / Accent

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

a { color: #8068EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #8068EC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

128, 104, 236

Red: 128 / Green: 104 / Blue: 236

HSL

251°, 78%, 67%

Hue: 251° / Saturation: 78% / Lightness: 67%

CMYK

46%, 56%, 0%, 7%

Cyan: 46% / Magenta: 56% / Yellow: 0% / Key: 7%

What color is #8068EC?

#8068EC is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8068EC to RGB:

rgb(128, 104, 236)HEX to RGB Converter →

HEX to HSL

Convert #8068EC to HSL:

hsl(251, 78%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #8068EC to CMYK:

cmyk(46%, 56%, 0%, 7%)Color Converter →

Color Meaning and Usage

A vivid blue tone, #8068EC has RGB (128, 104, 236) and HSL (251°, 78%, 67%). Known for evoking creativity and luxury, this blue-purple hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8068EC is #D4EC69, creating high-contrast pairings. For softer combinations, try analogous colors like #6993EC.

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

Contrast with #8068EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8068EC?

#8068EC is a vivid blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #8068EC?

#8068EC in RGB is (128, 104, 236) - 128 red, 104 green, and 236 blue.

How to use #8068EC in CSS?

Use #8068EC directly in your CSS properties like color or background-color.

What colors go well with #8068EC?

#D4EC69 (complementary), #6993EC (analogous), and #4825E4 (lighter shade) work well with #8068EC.