#8E66EB Color Information

Hex color code: #8E66EB

A vivid purple shade, #8E66EB appears as (142, 102, 235) in RGB and (258°, 77%, 66%) in HSL. It is commonly used in modern UI design.

Try:
Color NameMedium Slate Blue
HEX
#8E66EB
RGB
142, 102, 235
HSL
258°, 77%, 66%
CMYK
40%, 57%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #8E66EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

142, 102, 235

Red: 142 / Green: 102 / Blue: 235

HSL

258°, 77%, 66%

Hue: 258° / Saturation: 77% / Lightness: 66%

CMYK

40%, 57%, 0%, 8%

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

What color is #8E66EB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8E66EB to RGB:

rgb(142, 102, 235)HEX to RGB Converter →

HEX to HSL

Convert #8E66EB to HSL:

hsl(258, 77%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #8E66EB to CMYK:

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

Color Meaning and Usage

A vivid purple tone, #8E66EB has RGB (142, 102, 235) and HSL (258°, 77%, 66%). 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 #8E66EB is #C3EB66, creating high-contrast pairings. For softer combinations, try analogous colors like #6680EB.

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

Contrast with #8E66EB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8E66EB?

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

What is the RGB value of #8E66EB?

#8E66EB in RGB is (142, 102, 235) - 142 red, 102 green, and 235 blue.

How to use #8E66EB in CSS?

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

What colors go well with #8E66EB?

#C3EB66 (complementary), #6680EB (analogous), and #5C22E2 (lighter shade) work well with #8E66EB.