#E2D8EF

Closest named color: Gainsboro (#DCDCDC). oklch(89.7% 0.033 305.3), rgb(226, 216, 239).

Aa

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

About this color

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

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

Values

HEX#E2D8EF
RGBrgb(226, 216, 239)
HSLhsl(266, 42%, 89%)
OKLCHoklch(89.7% 0.033 305.3)

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 #E2D8EF 1.37:1 Fails Lc -20.8 Dividers and decoration only
Black text on #E2D8EF 15.30:1 AAA Lc 85.5 Fine for body text
#E2D8EF text on white 1.37:1 Fails Lc 18.2 Dividers and decoration only
#E2D8EF text on black 15.30:1 AAA Lc -85.4 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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #ECE8F1

    oklch(93.7% 0.013 306)

  3. Step 200

    200 (this color)

    #E2D8EF

    oklch(89.7% 0.033 305.3)

  4. Step 300

    300

    #C7BAD7

    oklch(80.9% 0.043 305.7)

  5. Step 400

    400

    #AA96C3

    oklch(70.6% 0.068 304.9)

  6. Step 500

    500

    #967CB3

    oklch(63.1% 0.086 305.7)

  7. Step 600

    600

    #80659F

    oklch(55.6% 0.093 305)

  8. Step 700

    700

    #6C5388

    oklch(49% 0.087 305.1)

  9. Step 800

    800

    #58446F

    oklch(42.6% 0.073 304.9)

  10. Step 900

    900

    #493A5A

    oklch(37.8% 0.056 305.3)

  11. Step 950

    950

    #2B2234

    oklch(27% 0.035 307)

Export this scale for Tailwind in the Tailwind colors tool

#E2D8EF 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)#D4DCF00.020
Deuteranopia (no green cones)#D6DCEE0.019
Tritanopia (no blue cones)#E0DBDF0.026
Achromatopsia (no color)#DCDCDC0.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #E2D8EF

    #E2D8EF

    oklch(89.7% 0.033 305.3)

  • #D8E1CA

    #D8E1CA

    oklch(89.7% 0.032 124.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E2D8EF

    #E2D8EF

    oklch(89.7% 0.033 305.3)

  • #D6DCF3

    #D6DCF3

    oklch(89.7% 0.032 274.1)

  • #ECD5E6

    #ECD5E6

    oklch(89.7% 0.034 334.9)

Open the analogous palette in the generator

Split complementary

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

  • #E2D8EF

    #E2D8EF

    oklch(89.7% 0.033 305.3)

  • #E3DDC5

    #E3DDC5

    oklch(89.6% 0.033 95.4)

  • #CDE4D4

    #CDE4D4

    oklch(89.7% 0.033 155.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E2D8EF

    #E2D8EF

    oklch(89.7% 0.033 305.3)

  • #EDD9C7

    #EDD9C7

    oklch(89.7% 0.033 64.4)

  • #C6E5E0

    #C6E5E0

    oklch(89.8% 0.033 184.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E2D8EF

    #E2D8EF

    oklch(89.7% 0.033 305.3)

  • #F2D6CF

    #F2D6CF

    oklch(89.7% 0.033 34.3)

  • #D8E1CA

    #D8E1CA

    oklch(89.7% 0.032 124.5)

  • #C6E3EB

    #C6E3EB

    oklch(89.7% 0.033 216.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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