#E4D7EC

Closest named color: Gainsboro (#DCDCDC). oklch(89.6% 0.032 312.8), rgb(228, 215, 236).

Aa

Black text reads best on this color (15.23:1).

About this color

#E4D7EC is a light, muted purple. In OKLCH its lightness is 90%, its chroma 0.032 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Gainsboro (#DCDCDC), ΔE 0.032 away. Black text reads best on it, at 15.23:1.

Hue familyPurples
Lightnesslight (90%)
Chromamuted (0.032)
Temperaturein between
Nearest nameGainsboro (#DCDCDC)
Black text15.23:1
White text1.37:1

Values

HEX#E4D7EC
RGBrgb(228, 215, 236)
HSLhsl(277, 36%, 88%)
OKLCHoklch(89.6% 0.032 312.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #E4D7EC 1.37:1 Fails Lc -21.1 Dividers and decoration only
Black text on #E4D7EC 15.23:1 AAA Lc 85.2 Fine for body text
#E4D7EC text on white 1.37:1 Fails Lc 18.5 Dividers and decoration only
#E4D7EC text on black 15.23:1 AAA Lc -85.1 Fine for body text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 200.

  1. Step 50

    50

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EDE8F0

    oklch(93.7% 0.012 313.2)

  3. Step 200

    200 (this color)

    #E4D7EC

    oklch(89.6% 0.032 312.8)

  4. Step 300

    300

    #CAB9D4

    oklch(80.8% 0.042 313.1)

  5. Step 400

    400

    #AF95BE

    oklch(70.7% 0.065 313.1)

  6. Step 500

    500

    #9B7BAE

    oklch(63.2% 0.083 312.5)

  7. Step 600

    600

    #866399

    oklch(55.6% 0.091 313.2)

  8. Step 700

    700

    #715283

    oklch(49.1% 0.084 312.5)

  9. Step 800

    800

    #5C436A

    oklch(42.6% 0.07 312.9)

  10. Step 900

    900

    #4C3956

    oklch(37.7% 0.054 313.6)

  11. Step 950

    950

    #2C2132

    oklch(26.8% 0.034 313.4)

Export this scale for Tailwind in the Tailwind colors tool

#E4D7EC with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#D4DBED0.023
Deuteranopia (no green cones)#D7DCEB0.021
Tritanopia (no blue cones)#E3D9DE0.022
Achromatopsia (no color)#DBDBDB0.032

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #E4D7EC

    #E4D7EC

    oklch(89.6% 0.032 312.8)

  • #D5E2CC

    #D5E2CC

    oklch(89.7% 0.033 132.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E4D7EC

    #E4D7EC

    oklch(89.6% 0.032 312.8)

  • #D9DBF2

    #D9DBF2

    oklch(89.7% 0.031 281.8)

  • #EDD5E2

    #EDD5E2

    oklch(89.6% 0.032 343.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #E4D7EC

    #E4D7EC

    oklch(89.6% 0.032 312.8)

  • #E0DEC6

    #E0DEC6

    oklch(89.6% 0.032 103.1)

  • #CBE4D7

    #CBE4D7

    oklch(89.7% 0.032 163.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E4D7EC

    #E4D7EC

    oklch(89.6% 0.032 312.8)

  • #EADAC6

    #EADAC6

    oklch(89.6% 0.032 73.5)

  • #C6E4E2

    #C6E4E2

    oklch(89.6% 0.032 191.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E4D7EC

    #E4D7EC

    oklch(89.6% 0.032 312.8)

  • #F0D6CC

    #F0D6CC

    oklch(89.5% 0.032 42.3)

  • #D5E2CC

    #D5E2CC

    oklch(89.7% 0.033 132.3)

  • #C7E2EC

    #C7E2EC

    oklch(89.6% 0.032 222.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #E4D7EC, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #E4D7EC in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.