#764CEB Color Information

Hex color code: #764CEB

#764CEB is a eye-catching purple color. In RGB it is (118, 76, 235), and in HSL it is (256°, 80%, 61%). It is widely used in graphic design.

Try:
Color NameMedium Slate Blue
HEX
#764CEB
RGB
118, 76, 235
HSL
256°, 80%, 61%
CMYK
50%, 68%, 0%, 8%

Shades

CSS Usage
color: #764CEB;
background-color: #764CEB;
border-color: #764CEB;
box-shadow: 0 0 10px #764CEB;
border: 2px solid #764CEB;
Tailwind Usage
bg-[#764CEB]
text-[#764CEB]
border-[#764CEB]
shadow-[0_0_10px_764CEB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #764CEB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #764CEB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #764CEB; 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 #764CEB; background-color: #764CEB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #764CEB20; border-left: 4px solid #764CEB; }

Link / Accent

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

a { color: #764CEB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #764CEB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

118, 76, 235

Red: 118 / Green: 76 / Blue: 235

HSL

256°, 80%, 61%

Hue: 256° / Saturation: 80% / Lightness: 61%

CMYK

50%, 68%, 0%, 8%

Cyan: 50% / Magenta: 68% / Yellow: 0% / Key: 8%

What color is #764CEB?

#764CEB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #764CEB to RGB:

rgb(118, 76, 235)HEX to RGB Converter →

HEX to HSL

Convert #764CEB to HSL:

hsl(256, 80%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #764CEB to CMYK:

cmyk(50%, 68%, 0%, 8%)Color Converter →

Color Meaning and Usage

A vivid purple tone, #764CEB has RGB (118, 76, 235) and HSL (256°, 80%, 61%). Known for evoking creativity and luxury, this blue-purple hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #764CEB is #C1EB4C, creating high-contrast pairings. For softer combinations, try analogous colors like #4C71EB.

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

Contrast with #764CEB

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

Contrast Ratio: 4.00:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #764CEB?

#764CEB is a vivid purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #764CEB?

#764CEB in RGB is (118, 76, 235) - 118 red, 76 green, and 235 blue.

How to use #764CEB in CSS?

Use #764CEB directly in your CSS properties like color or background-color.

What colors go well with #764CEB?

#C1EB4C (complementary), #4C71EB (analogous), and #4A17D3 (lighter shade) work well with #764CEB.