Color #E4DEF2 Color / Colour Code #E4DEF2

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

    #E4DEF2

    Color Conversions

    HEX
    #E4DEF2
    RGB
    rgb(228, 222, 242)
    HSL
    hsl(258, 43%, 91%)
    HSV
    hsv(258, 8%, 95%)
    CMYK
    cmyk(6%, 8%, 0%, 5%)

    Accessibility Contrast

    WCAG contrast ratios for #E4DEF2 against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    1.31:1
    AA FailAA Large FailAAA Fail
    Sample Text
    vs Black (#000000)
    16.03:1
    AA PassAA Large PassAAA Pass
    Sample Text
    vs Light Gray (#EEEEEE)
    1.13:1
    AA FailAA Large FailAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 228, 258, and 288 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 258, 18, and 138 degrees.

    Color Palettes Using #E4DEF2

    Monochromatic Scale

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

    #201637 #3F2C6D #6A49B6 #A592D3 #D2C8E9
    Warm Harmony

    Adjacent hues from 258 to 303 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.

    #795BBE #915BBE #AA5BBE #BE5BB9
    Cool Contrast

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

    #6A49B6 #95B649 #5FB649 #49B66A
    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.

    #C4B8E0 #E0B8D4 #E0C4B8 #D4E0B8 #B8E0C4

    Shades & Tints of #E4DEF2

    Lightness variations at hue 258 and 43% saturation.

    CSS Gradients with #E4DEF2

    Purple to Green
    linear-gradient(135deg, #e4def2, #ecf2de)
    Analogous Fade
    linear-gradient(90deg, #e4def2, #eedef2)
    Deep to Light
    linear-gradient(180deg, #261a42, #c9bde5)
    Tricolor Sweep
    linear-gradient(135deg, #e4def2, #f2e4de, #def2e4)

    Design Use Cases for #E4DEF2

    Balanced UI Color

    At 43% saturation, #E4DEF2 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.

    Near-White Background

    At 91% lightness, #E4DEF2 is very close to white but carries a subtle purple tint. This is perfect for alternating row backgrounds in tables, subtle section differentiation, and adding warmth or coolness to an otherwise stark white design.

    Creativity & Premium Positioning

    #E4DEF2 falls in the purple spectrum (hue 258). 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 #E4DEF2 (hue 258) to its complement at hue 78. For a subtler effect, try pairing with an analogous color at hue 288. Use CSS: background: linear-gradient(135deg, #e4def2, #ecf2de);

    CSS Code for #E4DEF2

    /* Background */
    background-color: #e4def2;
    background-color: rgb(228, 222, 242);
    background-color: hsl(258, 43%, 91%);
    /* Text */
    color: #e4def2;
    /* Border */
    border: 2px solid #e4def2;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(228, 222, 242, 0.3);
    /* CSS Variable */
    --color-primary: 258 43% 91%;

    Similar Colors

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

    Use This Color in Design Tools

    Apply #E4DEF2 across image editing and color design tools.

    About Color #E4DEF2 (#E4DEF2)

    #E4DEF2 is a purple color (colour) with RGB channel values of 228 red, 222 green, and 242 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 258 degrees with 43% saturation and 91% lightness, placing it in the cool range of the colour spectrum.

    The perceived brightness of #E4DEF2 is 226/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This means it appears bright to the human eye and is best paired with dark text for readability. For print production, the CMYK equivalent is 6% cyan, 8% magenta, 0% yellow, and 5% key (black).

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

    The complementary colour #ECF2DE creates maximum visual tension when paired with #E4DEF2. For more harmonious color combinations, use the analogous colours #DEE2F2 and #EEDEF2, 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 #E4DEF2

    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 #E4DEF2?
    #E4DEF2 is Color #E4DEF2, a purple color (colour) with RGB(228, 222, 242), HSL(258, 43%, 91%), and CMYK(6%, 8%, 0%, 5%). Its perceived brightness is 226/255.
    Is #E4DEF2 accessible for text?
    Against white, #E4DEF2 has a contrast ratio of 1.31:1 (fails AA for normal text). Against black, it has 16.03:1 (passes AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #E4DEF2?
    The complementary colour is #ECF2DE (hue 78). For subtle color combinations, use analogous colours #DEE2F2 and #EEDEF2. The triadic palette adds #F2E4DE and #DEF2E4 for vibrant variety.
    How do I use #E4DEF2 in CSS?
    Use any format: color: #e4def2; or rgb(228, 222, 242); or hsl(258, 43%, 91%). For CSS custom properties: --color-primary: 258 43% 91%; 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.