#D966FF Color Information

Hex color code: #D966FF

#D966FF is a dynamic magenta color. In RGB it is (217, 102, 255), and in HSL it is (285°, 100%, 70%). It is typically applied in digital products.

Try:
Color NameViolet
HEX
#D966FF
RGB
217, 102, 255
HSL
285°, 100%, 70%
CMYK
15%, 60%, 0%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D966FF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 102, 255

Red: 217 / Green: 102 / Blue: 255

HSL

285°, 100%, 70%

Hue: 285° / Saturation: 100% / Lightness: 70%

CMYK

15%, 60%, 0%, 0%

Cyan: 15% / Magenta: 60% / Yellow: 0% / Key: 0%

What color is #D966FF?

#D966FF is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D966FF to RGB:

rgb(217, 102, 255)HEX to RGB Converter →

HEX to HSL

Convert #D966FF to HSL:

hsl(285, 100%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #D966FF to CMYK:

cmyk(15%, 60%, 0%, 0%)Color Converter →

Color Meaning and Usage

A bold magenta tone, #D966FF has RGB (217, 102, 255) and HSL (285°, 100%, 70%). Known for evoking energy and excitement, this highly saturated hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D966FF is #8CFF66, creating high-contrast pairings. For softer combinations, try analogous colors like #8C66FF.

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

Contrast with #D966FF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D966FF?

#D966FF is a bold magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #D966FF?

#D966FF in RGB is (217, 102, 255) - 217 red, 102 green, and 255 blue.

How to use #D966FF in CSS?

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

What colors go well with #D966FF?

#8CFF66 (complementary), #8C66FF (analogous), and #C61AFF (lighter shade) work well with #D966FF.