#E4DEF2

Closest named color: Lavender (#E6E6FA). oklch(91.1% 0.028 299.5), rgb(228, 222, 242).

Aa

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

About this color

#E4DEF2 is a very light close to neutral grey. In OKLCH its lightness is 91%, its chroma 0.028. It has too little chroma to lean warm or cool. The nearest named color is Lavender (#E6E6FA), ΔE 0.021 away. Black text reads best on it, at 16.02:1.

Hue familyNeutrals
Lightnessvery light (91%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameLavender (#E6E6FA)
Black text16.02:1
White text1.31:1

Values

HEX#E4DEF2
RGBrgb(228, 222, 242)
HSLhsl(258, 43%, 91%)
OKLCHoklch(91.1% 0.028 299.5)

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 #E4DEF2 1.31:1 Fails Lc -17.6 Dividers and decoration only
Black text on #E4DEF2 16.02:1 AAA Lc 88.3 Fine for body text
#E4DEF2 text on white 1.31:1 Fails Lc 15.4 Dividers and decoration only
#E4DEF2 text on black 16.02:1 AAA Lc -88.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 100.

  1. Step 50

    50

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100 (this color)

    #E4DEF2

    oklch(91.1% 0.028 299.5)

  3. Step 200

    200

    #DBD6E5

    oklch(88.5% 0.021 301.1)

  4. Step 300

    300

    #C4BCD5

    oklch(81% 0.036 300.2)

  5. Step 400

    400

    #A599C0

    oklch(70.7% 0.058 299)

  6. Step 500

    500

    #9080B0

    oklch(63.2% 0.073 299.6)

  7. Step 600

    600

    #7A699B

    oklch(55.6% 0.078 299.5)

  8. Step 700

    700

    #675785

    oklch(49.1% 0.074 299.7)

  9. Step 800

    800

    #54476C

    oklch(42.7% 0.062 299.9)

  10. Step 900

    900

    #453C57

    oklch(37.7% 0.047 299.5)

  11. Step 950

    950

    #282333

    oklch(26.9% 0.03 298.7)

Export this scale for Tailwind in the Tailwind colors tool

#E4DEF2 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)#DBE1F30.013
Deuteranopia (no green cones)#DBE1F10.014
Tritanopia (no blue cones)#E2E1E40.024
Achromatopsia (no color)#E1E1E10.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #E4DEF2

    #E4DEF2

    oklch(91.1% 0.028 299.5)

  • #DFE5D0

    #DFE5D0

    oklch(91.2% 0.029 120)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E4DEF2

    #E4DEF2

    oklch(91.1% 0.028 299.5)

  • #DAE1F5

    #DAE1F5

    oklch(91% 0.028 270.4)

  • #EDDBEB

    #EDDBEB

    oklch(91.1% 0.029 329.3)

Open the analogous palette in the generator

Split complementary

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

  • #E4DEF2

    #E4DEF2

    oklch(91.1% 0.028 299.5)

  • #E9E1CD

    #E9E1CD

    oklch(91.1% 0.028 88.8)

  • #D6E7D8

    #D6E7D8

    oklch(91.1% 0.027 148.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E4DEF2

    #E4DEF2

    oklch(91.1% 0.028 299.5)

  • #F0DED0

    #F0DED0

    oklch(91.1% 0.027 60.3)

  • #CFE8E2

    #CFE8E2

    oklch(91.1% 0.028 179.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E4DEF2

    #E4DEF2

    oklch(91.1% 0.028 299.5)

  • #F4DBD7

    #F4DBD7

    oklch(91.1% 0.028 28.5)

  • #DFE5D0

    #DFE5D0

    oklch(91.2% 0.029 120)

  • #CEE7EC

    #CEE7EC

    oklch(91.1% 0.027 211.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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