#DC7AEB Color Information

Hex color code: #DC7AEB

The hex color #DC7AEB is a vivid magenta with RGB values of (220, 122, 235) and HSL of (292°, 74%, 70%). It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#DC7AEB
RGB
220, 122, 235
HSL
292°, 74%, 70%
CMYK
6%, 48%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DC7AEB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

220, 122, 235

Red: 220 / Green: 122 / Blue: 235

HSL

292°, 74%, 70%

Hue: 292° / Saturation: 74% / Lightness: 70%

CMYK

6%, 48%, 0%, 8%

Cyan: 6% / Magenta: 48% / Yellow: 0% / Key: 8%

What color is #DC7AEB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DC7AEB to RGB:

rgb(220, 122, 235)HEX to RGB Converter →

HEX to HSL

Convert #DC7AEB to HSL:

hsl(292, 74%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #DC7AEB to CMYK:

cmyk(6%, 48%, 0%, 8%)Color Converter →

Color Meaning and Usage

A dynamic magenta tone, #DC7AEB has RGB (220, 122, 235) and HSL (292°, 74%, 70%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DC7AEB is #89EB7A, creating high-contrast pairings. For softer combinations, try analogous colors like #A37AEB.

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

Contrast with #DC7AEB

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

Contrast Ratio: 8.03:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DC7AEB?

#DC7AEB is a dynamic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #DC7AEB?

#DC7AEB in RGB is (220, 122, 235) - 220 red, 122 green, and 235 blue.

How to use #DC7AEB in CSS?

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

What colors go well with #DC7AEB?

#89EB7A (complementary), #A37AEB (analogous), and #CB37E1 (lighter shade) work well with #DC7AEB.