#D997F0 Color Information
Hex color code: #D997F0
#D997F0 is a delicate purple color. In RGB it is (217, 151, 240), and in HSL it is (284°, 75%, 77%). It is popular in mobile app design.
Shades
color: #D997F0; background-color: #D997F0; border-color: #D997F0; box-shadow: 0 0 10px #D997F0; border: 2px solid #D997F0;
bg-[#D997F0] text-[#D997F0] border-[#D997F0] shadow-[0_0_10px_D997F0]
Generate Gradient
background: linear-gradient(90deg, #D997F0, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #D997F0 in the color wheel.
RGB, HSL and CMYK Values
RGB
217, 151, 240
Red: 217 / Green: 151 / Blue: 240
HSL
284°, 75%, 77%
Hue: 284° / Saturation: 75% / Lightness: 77%
CMYK
10%, 37%, 0%, 6%
Cyan: 10% / Magenta: 37% / Yellow: 0% / Key: 6%
What color is #D997F0?
#D997F0 is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A soft purple tone, #D997F0 has RGB (217, 151, 240) and HSL (284°, 75%, 77%). 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 #D997F0 is #B0F098, creating high-contrast pairings. For softer combinations, try analogous colors like #AD98F0.
Use #D997F0 in CSS: color: #D997F0 or background-color: #D997F0. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #D997F0
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #D997F0?
#D997F0 is a soft purple color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #D997F0?
#D997F0 in RGB is (217, 151, 240) - 217 red, 151 green, and 240 blue.
How to use #D997F0 in CSS?
Use #D997F0 directly in your CSS properties like color or background-color.