#ECE8FC

Closest named color: Lavender (#E6E6FA). oklch(94% 0.027 295), rgb(236, 232, 252).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery light (94%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameLavender (#E6E6FA)
Black text17.51:1
White text1.19:1

Values

HEX#ECE8FC
RGBrgb(236, 232, 252)
HSLhsl(252, 77%, 95%)
OKLCHoklch(94% 0.027 295)

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 #ECE8FC 1.19:1 Fails Lc -11.4 Not readable
Black text on #ECE8FC 17.51:1 AAA Lc 93.8 Preferred for body text
#ECE8FC text on white 1.19:1 Fails Lc 9.7 Not readable
#ECE8FC text on black 17.51:1 AAA Lc -94.4 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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100 (this color)

    #ECE8FC

    oklch(94% 0.027 295)

  3. Step 200

    200

    #DAD7E5

    oklch(88.6% 0.019 295.8)

  4. Step 300

    300

    #C2BDD5

    oklch(81% 0.034 295.2)

  5. Step 400

    400

    #A39AC0

    oklch(70.7% 0.056 295.8)

  6. Step 500

    500

    #8C81B0

    oklch(63% 0.071 295)

  7. Step 600

    600

    #766A9C

    oklch(55.5% 0.077 294.8)

  8. Step 700

    700

    #645885

    oklch(49.1% 0.072 295.9)

  9. Step 800

    800

    #51486C

    oklch(42.6% 0.06 295.2)

  10. Step 900

    900

    #433D58

    oklch(37.8% 0.046 294.3)

  11. Step 950

    950

    #272433

    oklch(27% 0.028 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#ECE8FC 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)#E4EBFD0.012
Deuteranopia (no green cones)#E5EAFB0.011
Tritanopia (no blue cones)#E9EBEE0.024
Achromatopsia (no color)#EAEAEA0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECE8FC

    #ECE8FC

    oklch(94% 0.027 295)

  • #EAEED9

    #EAEED9

    oklch(94% 0.028 115.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECE8FC

    #ECE8FC

    oklch(94% 0.027 295)

  • #E2EBFE

    #E2EBFE

    oklch(93.9% 0.027 265.5)

  • #F5E5F5

    #F5E5F5

    oklch(93.9% 0.027 325.8)

Open the analogous palette in the generator

Split complementary

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

  • #ECE8FC

    #ECE8FC

    oklch(94% 0.027 295)

  • #F4EAD7

    #F4EAD7

    oklch(94% 0.027 83.5)

  • #E1F0E0

    #E1F0E0

    oklch(94% 0.027 143.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECE8FC

    #ECE8FC

    oklch(94% 0.027 295)

  • #FAE7DA

    #FAE7DA

    oklch(94% 0.027 56.8)

  • #DAF2EA

    #DAF2EA

    oklch(94.1% 0.027 173.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECE8FC

    #ECE8FC

    oklch(94% 0.027 295)

  • #FDE5E2

    #FDE5E2

    oklch(94% 0.027 26.2)

  • #EAEED9

    #EAEED9

    oklch(94% 0.028 115.7)

  • #D7F1F4

    #D7F1F4

    oklch(94% 0.028 205.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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