#E7DEFB

Closest named color: Lavender (#E6E6FA). oklch(91.7% 0.04 299.8), rgb(231, 222, 251).

Aa

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

About this color

#E7DEFB is a very light, muted purple. In OKLCH its lightness is 92%, its chroma 0.040 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender (#E6E6FA), ΔE 0.021 away. Black text reads best on it, at 16.23:1.

Hue familyPurples
Lightnessvery light (92%)
Chromamuted (0.040)
Temperaturein between
Nearest nameLavender (#E6E6FA)
Black text16.23:1
White text1.29:1

Values

HEX#E7DEFB
RGBrgb(231, 222, 251)
HSLhsl(259, 78%, 93%)
OKLCHoklch(91.7% 0.04 299.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 #E7DEFB 1.29:1 Fails Lc -16.7 Dividers and decoration only
Black text on #E7DEFB 16.23:1 AAA Lc 89.1 Fine for body text
#E7DEFB text on white 1.29:1 Fails Lc 14.5 Not readable
#E7DEFB text on black 16.23:1 AAA Lc -89.3 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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100 (this color)

    #E7DEFB

    oklch(91.7% 0.04 299.8)

  3. Step 200

    200

    #DCD5EA

    oklch(88.5% 0.029 301)

  4. Step 300

    300

    #C5BADE

    oklch(81% 0.051 299.2)

  5. Step 400

    400

    #A895CD

    oklch(70.7% 0.083 299.8)

  6. Step 500

    500

    #937AC0

    oklch(63% 0.106 299.8)

  7. Step 600

    600

    #7E62AC

    oklch(55.6% 0.115 300.1)

  8. Step 700

    700

    #6A5194

    oklch(49.1% 0.107 299.7)

  9. Step 800

    800

    #564378

    oklch(42.7% 0.088 299.2)

  10. Step 900

    900

    #473961

    oklch(37.8% 0.069 299.2)

  11. Step 950

    950

    #2A2139

    oklch(27% 0.045 300.7)

Export this scale for Tailwind in the Tailwind colors tool

#E7DEFB 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)#D9E2FC0.020
Deuteranopia (no green cones)#DAE2FA0.020
Tritanopia (no blue cones)#E4E2E70.033
Achromatopsia (no color)#E2E2E20.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7DEFB

    #E7DEFB

    oklch(91.7% 0.04 299.8)

  • #E0E8CA

    #E0E8CA

    oklch(91.7% 0.041 119.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7DEFB

    #E7DEFB

    oklch(91.7% 0.04 299.8)

  • #D9E3FF

    #D9E3FF

    oklch(91.7% 0.04 270)

  • #F4DAF1

    #F4DAF1

    oklch(91.6% 0.042 329.6)

Open the analogous palette in the generator

Split complementary

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

  • #E7DEFB

    #E7DEFB

    oklch(91.7% 0.04 299.8)

  • #EEE3C6

    #EEE3C6

    oklch(91.7% 0.04 89.7)

  • #D2EBD6

    #D2EBD6

    oklch(91.6% 0.039 150)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7DEFB

    #E7DEFB

    oklch(91.7% 0.04 299.8)

  • #F8DEC9

    #F8DEC9

    oklch(91.6% 0.04 61.2)

  • #C8EDE4

    #C8EDE4

    oklch(91.7% 0.04 179)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7DEFB

    #E7DEFB

    oklch(91.7% 0.04 299.8)

  • #FDDAD4

    #FDDAD4

    oklch(91.6% 0.04 29.4)

  • #E0E8CA

    #E0E8CA

    oklch(91.7% 0.041 119.3)

  • #C6EBF2

    #C6EBF2

    oklch(91.6% 0.04 210.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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