#E7D8EC

Closest named color: Gainsboro (#DCDCDC). oklch(90% 0.031 317.7), rgb(231, 216, 236).

Aa

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

About this color

#E7D8EC is a very light, muted purple. In OKLCH its lightness is 90%, its chroma 0.031 and its hue 318°. 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.43:1.

Hue familyPurples
Lightnessvery light (90%)
Chromamuted (0.031)
Temperaturein between
Nearest nameGainsboro (#DCDCDC)
Black text15.43:1
White text1.36:1

Values

HEX#E7D8EC
RGBrgb(231, 216, 236)
HSLhsl(285, 34%, 89%)
OKLCHoklch(90% 0.031 317.7)

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 #E7D8EC 1.36:1 Fails Lc -20.2 Dividers and decoration only
Black text on #E7D8EC 15.43:1 AAA Lc 86.0 Fine for body text
#E7D8EC text on white 1.36:1 Fails Lc 17.7 Dividers and decoration only
#E7D8EC text on black 15.43:1 AAA Lc -85.9 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

    #EDE7EF

    oklch(93.5% 0.012 317.7)

  3. Step 200

    200 (this color)

    #E7D8EC

    oklch(90% 0.031 317.7)

  4. Step 300

    300

    #CCB9D2

    oklch(80.9% 0.04 318)

  5. Step 400

    400

    #B294BB

    oklch(70.7% 0.065 318.3)

  6. Step 500

    500

    #9E7AAA

    oklch(63.1% 0.081 317.5)

  7. Step 600

    600

    #896296

    oklch(55.6% 0.09 317.5)

  8. Step 700

    700

    #745180

    oklch(49.1% 0.084 317.2)

  9. Step 800

    800

    #5F4368

    oklch(42.8% 0.069 317.7)

  10. Step 900

    900

    #4D3854

    oklch(37.6% 0.054 317.5)

  11. Step 950

    950

    #2D2131

    oklch(26.9% 0.034 317.5)

Export this scale for Tailwind in the Tailwind colors tool

#E7D8EC 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)#D6DCED0.024
Deuteranopia (no green cones)#D9DDEB0.022
Tritanopia (no blue cones)#E7DADE0.022
Achromatopsia (no color)#DDDDDD0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7D8EC

    #E7D8EC

    oklch(90% 0.031 317.7)

  • #D4E3CF

    #D4E3CF

    oklch(89.9% 0.031 137.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7D8EC

    #E7D8EC

    oklch(90% 0.031 317.7)

  • #DCDBF2

    #DCDBF2

    oklch(89.9% 0.031 287.7)

  • #EFD6E2

    #EFD6E2

    oklch(90% 0.032 347.1)

Open the analogous palette in the generator

Split complementary

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

  • #E7D8EC

    #E7D8EC

    oklch(90% 0.031 317.7)

  • #E0E0C9

    #E0E0C9

    oklch(90.1% 0.031 107)

  • #CBE5DA

    #CBE5DA

    oklch(90% 0.031 168.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7D8EC

    #E7D8EC

    oklch(90% 0.031 317.7)

  • #EADCC8

    #EADCC8

    oklch(90% 0.031 77)

  • #C7E5E5

    #C7E5E5

    oklch(90% 0.032 196.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7D8EC

    #E7D8EC

    oklch(90% 0.031 317.7)

  • #F1D8CD

    #F1D8CD

    oklch(90% 0.032 45.3)

  • #D4E3CF

    #D4E3CF

    oklch(89.9% 0.031 137.8)

  • #CAE3EF

    #CAE3EF

    oklch(90.1% 0.031 228.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #E7D8EC 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.