#816CEA Color Information

Hex color code: #816CEA

A vivid blue shade, #816CEA appears as (129, 108, 234) in RGB and (250°, 75%, 67%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Slate Blue
HEX
#816CEA
RGB
129, 108, 234
HSL
250°, 75%, 67%
CMYK
45%, 54%, 0%, 8%

Shades

CSS Usage
color: #816CEA;
background-color: #816CEA;
border-color: #816CEA;
box-shadow: 0 0 10px #816CEA;
border: 2px solid #816CEA;
Tailwind Usage
bg-[#816CEA]
text-[#816CEA]
border-[#816CEA]
shadow-[0_0_10px_816CEA]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #816CEA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #816CEA; color: #000000; }

Badge

New Feature
.badge { background-color: #816CEA; 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 #816CEA; background-color: #816CEA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #816CEA20; border-left: 4px solid #816CEA; }

Link / Accent

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

a { color: #816CEA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #816CEA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

129, 108, 234

Red: 129 / Green: 108 / Blue: 234

HSL

250°, 75%, 67%

Hue: 250° / Saturation: 75% / Lightness: 67%

CMYK

45%, 54%, 0%, 8%

Cyan: 45% / Magenta: 54% / Yellow: 0% / Key: 8%

What color is #816CEA?

#816CEA is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #816CEA to RGB:

rgb(129, 108, 234)HEX to RGB Converter →

HEX to HSL

Convert #816CEA to HSL:

hsl(250, 75%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #816CEA to CMYK:

cmyk(45%, 54%, 0%, 8%)Color Converter →

Color Meaning and Usage

A dynamic blue tone, #816CEA has RGB (129, 108, 234) and HSL (250°, 75%, 67%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #816CEA is #D5EA6C, creating high-contrast pairings. For softer combinations, try analogous colors like #6C96EA.

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

Contrast with #816CEA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #816CEA?

#816CEA is a dynamic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #816CEA?

#816CEA in RGB is (129, 108, 234) - 129 red, 108 green, and 234 blue.

How to use #816CEA in CSS?

Use #816CEA directly in your CSS properties like color or background-color.

What colors go well with #816CEA?

#D5EA6C (complementary), #6C96EA (analogous), and #4729E0 (lighter shade) work well with #816CEA.