#D766EB Color Information

Hex color code: #D766EB

A eye-catching magenta shade, #D766EB appears as (215, 102, 235) in RGB and (291°, 77%, 66%) in HSL. It is widely used in graphic design.

Try:
Color NameViolet
HEX
#D766EB
RGB
215, 102, 235
HSL
291°, 77%, 66%
CMYK
9%, 57%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #D766EB; 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 #D766EB; background-color: #D766EB15; }

Alert / Toast

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

Link / Accent

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

a { color: #D766EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #D766EB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 102, 235

Red: 215 / Green: 102 / Blue: 235

HSL

291°, 77%, 66%

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

CMYK

9%, 57%, 0%, 8%

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

What color is #D766EB?

#D766EB is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D766EB to RGB:

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

HEX to HSL

Convert #D766EB to HSL:

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

HEX to CMYK

Convert #D766EB to CMYK:

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

Color Meaning and Usage

A eye-catching magenta tone, #D766EB has RGB (215, 102, 235) and HSL (291°, 77%, 66%). Known for evoking romance and playfulness, this magenta-red hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D766EB is #7AEB66, creating high-contrast pairings. For softer combinations, try analogous colors like #9466EB.

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

Contrast with #D766EB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D766EB?

#D766EB is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D766EB?

#D766EB in RGB is (215, 102, 235) - 215 red, 102 green, and 235 blue.

How to use #D766EB in CSS?

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

What colors go well with #D766EB?

#7AEB66 (complementary), #9466EB (analogous), and #C522E2 (lighter shade) work well with #D766EB.