#ECDEFB

Closest named color: Lavender (#E6E6FA). oklch(92% 0.042 307.2), rgb(236, 222, 251).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery light (92%)
Chromamuted (0.042)
Temperaturein between
Nearest nameLavender (#E6E6FA)
Black text16.40:1
White text1.27:1

Values

HEX#ECDEFB
RGBrgb(236, 222, 251)
HSLhsl(269, 78%, 93%)
OKLCHoklch(92% 0.042 307.2)

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 #ECDEFB 1.27:1 Fails Lc -16.0 Dividers and decoration only
Black text on #ECDEFB 16.40:1 AAA Lc 89.7 Fine for body text
#ECDEFB text on white 1.27:1 Fails Lc 13.9 Not readable
#ECDEFB text on black 16.40:1 AAA Lc -90.0 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)

    #ECDEFB

    oklch(92% 0.042 307.2)

  3. Step 200

    200

    #DED4E9

    oklch(88.4% 0.03 307.1)

  4. Step 300

    300

    #CAB8DC

    oklch(80.9% 0.054 307.7)

  5. Step 400

    400

    #AF93CB

    oklch(70.8% 0.086 307.1)

  6. Step 500

    500

    #9B77BD

    oklch(63.1% 0.109 307.1)

  7. Step 600

    600

    #865FA9

    oklch(55.7% 0.118 307.3)

  8. Step 700

    700

    #714E91

    oklch(49.1% 0.11 306.9)

  9. Step 800

    800

    #5C4076

    oklch(42.7% 0.092 306.8)

  10. Step 900

    900

    #4C375F

    oklch(37.8% 0.071 307.5)

  11. Step 950

    950

    #2C2038

    oklch(26.9% 0.046 306.5)

Export this scale for Tailwind in the Tailwind colors tool

#ECDEFB 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)#DAE3FC0.026
Deuteranopia (no green cones)#DCE3FA0.024
Tritanopia (no blue cones)#EAE1E70.031
Achromatopsia (no color)#E3E3E30.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECDEFB

    #ECDEFB

    oklch(92% 0.042 307.2)

  • #DDEACD

    #DDEACD

    oklch(92% 0.041 126.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECDEFB

    #ECDEFB

    oklch(92% 0.042 307.2)

  • #DEE3FF

    #DEE3FF

    oklch(92.1% 0.038 277.6)

  • #F8DBEF

    #F8DBEF

    oklch(92.1% 0.041 337.1)

Open the analogous palette in the generator

Split complementary

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

  • #ECDEFB

    #ECDEFB

    oklch(92% 0.042 307.2)

  • #ECE5C6

    #ECE5C6

    oklch(91.9% 0.042 96.6)

  • #CFEEDA

    #CFEEDA

    oklch(92.1% 0.042 157.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECDEFB

    #ECDEFB

    oklch(92% 0.042 307.2)

  • #F8E0C8

    #F8E0C8

    oklch(92% 0.041 67.3)

  • #C7EEE9

    #C7EEE9

    oklch(92% 0.041 187)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECDEFB

    #ECDEFB

    oklch(92% 0.042 307.2)

  • #FFDCD1

    #FFDCD1

    oklch(92.1% 0.042 38.2)

  • #DDEACD

    #DDEACD

    oklch(92% 0.041 126.9)

  • #C7ECF7

    #C7ECF7

    oklch(92% 0.041 217.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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