#D06CEF Color Information

Hex color code: #D06CEF

The hex color #D06CEF is a vivid magenta with RGB values of (208, 108, 239) and HSL of (286°, 80%, 68%). It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#D06CEF
RGB
208, 108, 239
HSL
286°, 80%, 68%
CMYK
13%, 55%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D06CEF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

208, 108, 239

Red: 208 / Green: 108 / Blue: 239

HSL

286°, 80%, 68%

Hue: 286° / Saturation: 80% / Lightness: 68%

CMYK

13%, 55%, 0%, 6%

Cyan: 13% / Magenta: 55% / Yellow: 0% / Key: 6%

What color is #D06CEF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D06CEF to RGB:

rgb(208, 108, 239)HEX to RGB Converter →

HEX to HSL

Convert #D06CEF to HSL:

hsl(286, 80%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #D06CEF to CMYK:

cmyk(13%, 55%, 0%, 6%)Color Converter →

Color Meaning and Usage

#D06CEF is a vivid magenta color with RGB values of 208, 108, 239 and HSL of 286°, 80%, 68%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D06CEF is #8BEF6C, creating high-contrast pairings. For softer combinations, try analogous colors like #8F6CEF.

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

Contrast with #D06CEF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D06CEF?

#D06CEF is a vivid magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #D06CEF?

#D06CEF in RGB is (208, 108, 239) - 208 red, 108 green, and 239 blue.

How to use #D06CEF in CSS?

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

What colors go well with #D06CEF?

#8BEF6C (complementary), #8F6CEF (analogous), and #BA27E7 (lighter shade) work well with #D06CEF.