#E8D7EC

Closest named color: Gainsboro (#DCDCDC). oklch(89.9% 0.034 319.8), rgb(232, 215, 236).

Aa

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

About this color

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

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

Values

HEX#E8D7EC
RGBrgb(232, 215, 236)
HSLhsl(289, 36%, 88%)
OKLCHoklch(89.9% 0.034 319.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 #E8D7EC 1.36:1 Fails Lc -20.5 Dividers and decoration only
Black text on #E8D7EC 15.36:1 AAA Lc 85.7 Fine for body text
#E8D7EC text on white 1.36:1 Fails Lc 17.9 Dividers and decoration only
#E8D7EC text on black 15.36:1 AAA Lc -85.6 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

    #EEE7EF

    oklch(93.6% 0.013 321.9)

  3. Step 200

    200 (this color)

    #E8D7EC

    oklch(89.9% 0.034 319.8)

  4. Step 300

    300

    #CDB8D2

    oklch(80.8% 0.043 319.7)

  5. Step 400

    400

    #B493BC

    oklch(70.7% 0.069 319.6)

  6. Step 500

    500

    #A178AB

    oklch(63.1% 0.088 319.6)

  7. Step 600

    600

    #8C6096

    oklch(55.6% 0.096 320)

  8. Step 700

    700

    #774F80

    oklch(49.1% 0.09 320.1)

  9. Step 800

    800

    #614168

    oklch(42.7% 0.074 320.2)

  10. Step 900

    900

    #4F3755

    oklch(37.6% 0.059 319.5)

  11. Step 950

    950

    #2E2132

    oklch(27.1% 0.036 318.1)

Export this scale for Tailwind in the Tailwind colors tool

#E8D7EC 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)#D5DBED0.026
Deuteranopia (no green cones)#D8DDEB0.026
Tritanopia (no blue cones)#E9D9DE0.022
Achromatopsia (no color)#DCDCDC0.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #E8D7EC

    #E8D7EC

    oklch(89.9% 0.034 319.8)

  • #D3E4CF

    #D3E4CF

    oklch(90% 0.034 139.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E8D7EC

    #E8D7EC

    oklch(89.9% 0.034 319.8)

  • #DDDAF3

    #DDDAF3

    oklch(89.8% 0.034 291.2)

  • #F0D5E1

    #F0D5E1

    oklch(89.9% 0.034 349.1)

Open the analogous palette in the generator

Split complementary

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

  • #E8D7EC

    #E8D7EC

    oklch(89.9% 0.034 319.8)

  • #DFE0C7

    #DFE0C7

    oklch(89.9% 0.033 108.9)

  • #C9E5DA

    #C9E5DA

    oklch(89.8% 0.033 169.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E8D7EC

    #E8D7EC

    oklch(89.9% 0.034 319.8)

  • #EADCC5

    #EADCC5

    oklch(90% 0.034 80.3)

  • #C5E5E6

    #C5E5E6

    oklch(89.9% 0.034 198.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E8D7EC

    #E8D7EC

    oklch(89.9% 0.034 319.8)

  • #F1D8CA

    #F1D8CA

    oklch(89.9% 0.034 51.2)

  • #D3E4CF

    #D3E4CF

    oklch(90% 0.034 139.7)

  • #C8E3F0

    #C8E3F0

    oklch(90% 0.034 228.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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