#ECDEFF

Closest named color: Lavender (#E6E6FA). oklch(92.2% 0.047 304.7), rgb(236, 222, 255).

Aa

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

About this color

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

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

Values

HEX#ECDEFF
RGBrgb(236, 222, 255)
HSLhsl(265, 100%, 94%)
OKLCHoklch(92.2% 0.047 304.7)

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 #ECDEFF 1.27:1 Fails Lc -15.8 Dividers and decoration only
Black text on #ECDEFF 16.45:1 AAA Lc 89.9 Fine for body text
#ECDEFF text on white 1.27:1 Fails Lc 13.7 Not readable
#ECDEFF text on black 16.45:1 AAA Lc -90.2 Preferred 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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100 (this color)

    #ECDEFF

    oklch(92.2% 0.047 304.7)

  3. Step 200

    200

    #DED4EB

    oklch(88.5% 0.033 305.3)

  4. Step 300

    300

    #C9B7E0

    oklch(80.8% 0.06 305)

  5. Step 400

    400

    #AE91D1

    oklch(70.6% 0.097 304.8)

  6. Step 500

    500

    #9A75C5

    oklch(63% 0.123 304.4)

  7. Step 600

    600

    #855CB1

    oklch(55.5% 0.133 304.7)

  8. Step 700

    700

    #714C99

    oklch(49.2% 0.124 304.4)

  9. Step 800

    800

    #5C3E7C

    oklch(42.6% 0.104 304.7)

  10. Step 900

    900

    #4B3664

    oklch(37.8% 0.08 303.9)

  11. Step 950

    950

    #2C203A

    oklch(27% 0.049 304.5)

Export this scale for Tailwind in the Tailwind colors tool

#ECDEFF 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)#D9E3FF0.027
Deuteranopia (no green cones)#DBE4FE0.026
Tritanopia (no blue cones)#E9E2E90.036
Achromatopsia (no color)#E4E4E40.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECDEFF

    #ECDEFF

    oklch(92.2% 0.047 304.7)

  • #DEEBCA

    #DEEBCA

    oklch(92.2% 0.046 124.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECDEFF

    #ECDEFF

    oklch(92.2% 0.047 304.7)

  • #DDE4FF

    #DDE4FF

    oklch(92.2% 0.038 274.1)

  • #FADAF2

    #FADAF2

    oklch(92.2% 0.047 334.7)

Open the analogous palette in the generator

Split complementary

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

  • #ECDEFF

    #ECDEFF

    oklch(92.2% 0.047 304.7)

  • #EFE5C3

    #EFE5C3

    oklch(92.1% 0.046 93.5)

  • #CEEFD8

    #CEEFD8

    oklch(92.2% 0.046 155)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECDEFF

    #ECDEFF

    oklch(92.2% 0.047 304.7)

  • #FCDFC5

    #FCDFC5

    oklch(92.1% 0.047 64.1)

  • #C4F0E9

    #C4F0E9

    oklch(92.2% 0.046 184.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECDEFF

    #ECDEFF

    oklch(92.2% 0.047 304.7)

  • #FFDCD3

    #FFDCD3

    oklch(92.1% 0.041 34.8)

  • #DEEBCA

    #DEEBCA

    oklch(92.2% 0.046 124.8)

  • #C3EEF9

    #C3EEF9

    oklch(92.2% 0.047 215)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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