#ECDEF8

Closest named color: Lavender (#E6E6FA). oklch(92% 0.038 309.6), rgb(236, 222, 248).

Aa

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

About this color

#ECDEF8 is a very light, muted purple. In OKLCH its lightness is 92%, its chroma 0.038 and its hue 310°. 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.37:1.

Hue familyPurples
Lightnessvery light (92%)
Chromamuted (0.038)
Temperaturein between
Nearest nameLavender (#E6E6FA)
Black text16.37:1
White text1.28:1

Values

HEX#ECDEF8
RGBrgb(236, 222, 248)
HSLhsl(272, 65%, 92%)
OKLCHoklch(92% 0.038 309.6)

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 #ECDEF8 1.28:1 Fails Lc -16.2 Dividers and decoration only
Black text on #ECDEF8 16.37:1 AAA Lc 89.6 Fine for body text
#ECDEF8 text on white 1.28:1 Fails Lc 14.0 Not readable
#ECDEF8 text on black 16.37:1 AAA Lc -89.8 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100 (this color)

    #ECDEF8

    oklch(92% 0.038 309.6)

  3. Step 200

    200

    #DED5E7

    oklch(88.6% 0.026 308.1)

  4. Step 300

    300

    #CAB8D9

    oklch(80.8% 0.05 309.7)

  5. Step 400

    400

    #AF93C6

    oklch(70.6% 0.079 309.3)

  6. Step 500

    500

    #9C78B7

    oklch(63.1% 0.1 309.9)

  7. Step 600

    600

    #8660A3

    oklch(55.5% 0.109 309.3)

  8. Step 700

    700

    #724F8B

    oklch(49% 0.101 310)

  9. Step 800

    800

    #5D4171

    oklch(42.7% 0.084 310.1)

  10. Step 900

    900

    #4C375C

    oklch(37.6% 0.067 309.5)

  11. Step 950

    950

    #2C2136

    oklch(27% 0.041 307.8)

Export this scale for Tailwind in the Tailwind colors tool

#ECDEF8 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)#DAE2F90.025
Deuteranopia (no green cones)#DDE3F70.023
Tritanopia (no blue cones)#EBE1E60.029
Achromatopsia (no color)#E3E3E30.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECDEF8

    #ECDEF8

    oklch(92% 0.038 309.6)

  • #DCEAD0

    #DCEAD0

    oklch(92% 0.038 130.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECDEF8

    #ECDEF8

    oklch(92% 0.038 309.6)

  • #DFE2FE

    #DFE2FE

    oklch(91.9% 0.038 280.8)

  • #F7DBED

    #F7DBED

    oklch(92% 0.039 339.2)

Open the analogous palette in the generator

Split complementary

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

  • #ECDEF8

    #ECDEF8

    oklch(92% 0.038 309.6)

  • #EAE5C9

    #EAE5C9

    oklch(91.8% 0.037 98.8)

  • #D0EDDC

    #D0EDDC

    oklch(92% 0.038 159.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECDEF8

    #ECDEF8

    oklch(92% 0.038 309.6)

  • #F5E1CA

    #F5E1CA

    oklch(92% 0.038 71.2)

  • #C9EDEA

    #C9EDEA

    oklch(92% 0.038 190.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECDEF8

    #ECDEF8

    oklch(92% 0.038 309.6)

  • #FCDDD2

    #FCDDD2

    oklch(92% 0.038 40.5)

  • #DCEAD0

    #DCEAD0

    oklch(92% 0.038 130.4)

  • #CAEBF6

    #CAEBF6

    oklch(92% 0.038 219.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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