Color #D397DD Color / Colour Code #D397DD

    This page shows the hex color code for color #d397dd (#D397DD). The colour is a purple tone with 51% saturation and 73% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #D397DD

    Color Conversions

    HEX
    #D397DD
    RGB
    rgb(211, 151, 221)
    HSL
    hsl(291, 51%, 73%)
    HSV
    hsv(291, 32%, 87%)
    CMYK
    cmyk(5%, 32%, 0%, 13%)

    Accessibility Contrast

    WCAG contrast ratios for #D397DD against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    2.27:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    9.24:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    1.96:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

    #D397DD paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 261, 291, and 321 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 291, 51, and 171 degrees.

    Color Palettes Using #D397DD

    Monochromatic Scale

    Five shades at lightness levels 15% through 85% while keeping hue at 291 and saturation at 51%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.

    #34133A #682574 #AD3EC1 #CE8BDA #E6C5EC
    Warm Harmony

    Adjacent hues from 291 to 336 degrees create a warm, unified palette. This analogous scheme works for marketing materials, seasonal campaigns, and any design that needs visual warmth without clashing colors.

    #B552C7 #C752BB #C7529E #C75281
    Cool Contrast

    Combines the base color at hue 291 with its complement at 111 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.

    #AD3EC1 #52C13E #3EC16C #3EC1AD
    Pastel Variation

    Five evenly spaced hues at 40% saturation and 80% lightness. Pastels are gentle on the eyes and work well for dashboards, onboarding screens, category tags, and any interface where multiple distinct colors are needed without visual aggression.

    #DAB8E0 #E0B8BE #E0DAB8 #BEE0B8 #B8E0DA

    Shades & Tints of #D397DD

    Lightness variations at hue 291 and 51% saturation.

    CSS Gradients with #D397DD

    Purple to Green
    linear-gradient(135deg, #d397dd, #a2dd97)
    Analogous Fade
    linear-gradient(90deg, #d397dd, #dd97c5)
    Deep to Light
    linear-gradient(180deg, #3e1645, #e1bae9)
    Tricolor Sweep
    linear-gradient(135deg, #d397dd, #ddd397, #97ddd3)

    Design Use Cases for #D397DD

    Balanced UI Color

    At 51% saturation, #D397DD strikes a balance between vibrancy and restraint. This makes it versatile for primary UI elements like navigation bars, card headers, and form accents. It draws attention without overwhelming adjacent content.

    Light Background Tint

    #D397DD at 73% lightness creates a gentle tinted background. Use it for section backgrounds, alert banners, or card surfaces that need to stand out from a white page without strong contrast. It adds color personality while keeping the design light and open.

    Creativity & Premium Positioning

    #D397DD falls in the purple spectrum (hue 291). Purple communicates creativity, wisdom, and luxury. It is effective for premium product highlights, creative portfolio accents, meditation app interfaces, and rewards program branding. Purple occupies a unique space between the energy of red and the calm of blue.

    Gradient Pairing

    Create a gradient from #D397DD (hue 291) to its complement at hue 111. For a subtler effect, try pairing with an analogous color at hue 321. Use CSS: background: linear-gradient(135deg, #d397dd, #a2dd97);

    CSS Code for #D397DD

    /* Background */
    background-color: #d397dd;
    background-color: rgb(211, 151, 221);
    background-color: hsl(291, 51%, 73%);
    /* Text */
    color: #d397dd;
    /* Border */
    border: 2px solid #d397dd;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(211, 151, 221, 0.3);
    /* CSS Variable */
    --color-primary: 291 51% 73%;

    Similar Colors

    Colors visually similar to #D397DD based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #D397DD across image editing and color design tools.

    About Color #D397DD (#D397DD)

    #D397DD is a purple color (colour) with RGB channel values of 211 red, 151 green, and 221 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 291 degrees with 51% saturation and 73% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #D397DD is 177/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This is a medium-brightness color that can work with either dark or light text depending on font weight and size. For print production, the CMYK equivalent is 5% cyan, 32% magenta, 0% yellow, and 13% key (black).

    The WCAG contrast ratio of #D397DD against white is 2.27:1 and against black is 9.24:1. This does not meet AA requirements on white. Use it on dark backgrounds where it achieves 9.24:1, or use it exclusively for decorative purposes.

    The complementary colour #A2DD97 creates maximum visual tension when paired with #D397DD. For more harmonious color combinations, use the analogous colours #B097DD and #DD97C5, which sit 30 degrees on either side of the hue wheel. To build a complete design system, start with the monochromatic scale above for consistent shade variations, then add one complementary or triadic accent for interactive elements.

    How to Explore Color #D397DD

    1. Enter your color value in HEX format.
    2. The tool converts it to RGB, HSL, CMYK format in real time.
    3. Copy the converted value to your clipboard.

    Color Converter · Contrast Checker

    What is HEX to RGB, HSL, CMYK color conversion

    Converting from HEX to RGB, HSL, CMYK translates a color value between two different color models. Different color models are used in web design (HEX, RGB), print (CMYK), and color theory (HSL, HSV).

    Related Tools & Colors

    Frequently Asked Questions

    What color / colour is #D397DD?
    #D397DD is Color #D397DD, a purple color (colour) with RGB(211, 151, 221), HSL(291, 51%, 73%), and CMYK(5%, 32%, 0%, 13%). Its perceived brightness is 177/255.
    Is #D397DD accessible for text?
    Against white, #D397DD has a contrast ratio of 2.27:1 (fails AA for normal text). Against black, it has 9.24:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #D397DD?
    The complementary colour is #A2DD97 (hue 111). For subtle color combinations, use analogous colours #B097DD and #DD97C5. The triadic palette adds #DDD397 and #97DDD3 for vibrant variety.
    How do I use #D397DD in CSS?
    Use any format: color: #d397dd; or rgb(211, 151, 221); or hsl(291, 51%, 73%). For CSS custom properties: --color-primary: 291 51% 73%; then use it as hsl(var(--color-primary)).
    Is this color / colour explorer free?
    Yes, completely free with no signup required. All colour calculations run in your browser. You can explore any valid hex color code, not just the pre-generated palette.