#ECCAFB

Closest named color: Light Lilac (#EDC8FF). oklch(88.3% 0.075 315.5), rgb(236, 202, 251).

Aa

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

About this color

#ECCAFB is a light, moderately saturated purple. In OKLCH its lightness is 88%, its chroma 0.075 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Lilac (#EDC8FF), ΔE 0.009 away. Black text reads best on it, at 14.40:1.

Hue familyPurples
Lightnesslight (88%)
Chromamoderately saturated (0.075)
Temperaturein between
Nearest nameLight Lilac (#EDC8FF)
Black text14.40:1
White text1.45:1

Values

HEX#ECCAFB
RGBrgb(236, 202, 251)
HSLhsl(282, 86%, 89%)
OKLCHoklch(88.3% 0.075 315.5)

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 #ECCAFB 1.45:1 Fails Lc -24.7 Dividers and decoration only
Black text on #ECCAFB 14.40:1 AAA Lc 82.0 Fine for body text
#ECCAFB text on white 1.45:1 Fails Lc 21.7 Dividers and decoration only
#ECCAFB text on black 14.40:1 AAA Lc -81.6 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 200.

  1. Step 50

    50

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200 (this color)

    #ECCAFB

    oklch(88.3% 0.075 315.5)

  4. Step 300

    300

    #D9AEEC

    oklch(81% 0.097 315.3)

  5. Step 400

    400

    #C580E2

    oklch(70.7% 0.155 315.3)

  6. Step 500

    500

    #B65BD9

    oklch(63.2% 0.198 315.6)

  7. Step 600

    600

    #A13AC6

    oklch(55.5% 0.216 315.6)

  8. Step 700

    700

    #8A2BAB

    oklch(49.1% 0.2 315.7)

  9. Step 800

    800

    #70268B

    oklch(42.7% 0.166 315.4)

  10. Step 900

    900

    #5B256F

    oklch(37.7% 0.13 315.7)

  11. Step 950

    950

    #351741

    oklch(27% 0.082 315.3)

Export this scale for Tailwind in the Tailwind colors tool

#ECCAFB 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)#C4D4FD0.057
Deuteranopia (no green cones)#CBD7F90.054
Tritanopia (no blue cones)#ECCFDB0.051
Achromatopsia (no color)#D6D6D60.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECCAFB

    #ECCAFB

    oklch(88.3% 0.075 315.5)

  • #C3E4B3

    #C3E4B3

    oklch(88.2% 0.074 135.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECCAFB

    #ECCAFB

    oklch(88.3% 0.075 315.5)

  • #D4D4FF

    #D4D4FF

    oklch(88.4% 0.059 285.1)

  • #FEC5E4

    #FEC5E4

    oklch(88.3% 0.076 344.9)

Open the analogous palette in the generator

Split complementary

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

  • #ECCAFB

    #ECCAFB

    oklch(88.3% 0.075 315.5)

  • #DFDCA2

    #DFDCA2

    oklch(88.3% 0.075 105.4)

  • #A9E9CD

    #A9E9CD

    oklch(88.3% 0.075 165.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECCAFB

    #ECCAFB

    oklch(88.3% 0.075 315.5)

  • #F6D2A1

    #F6D2A1

    oklch(88.3% 0.075 75.1)

  • #9CE9E8

    #9CE9E8

    oklch(88.4% 0.076 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECCAFB

    #ECCAFB

    oklch(88.3% 0.075 315.5)

  • #FFCCB4

    #FFCCB4

    oklch(88.4% 0.067 46.5)

  • #C3E4B3

    #C3E4B3

    oklch(88.2% 0.074 135.5)

  • #A2E4FF

    #A2E4FF

    oklch(88.4% 0.076 225.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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