#ECABF2

Closest named color: Light Violet (#D6B4FC). oklch(82.5% 0.119 323.7), rgb(236, 171, 242).

Aa

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

About this color

#ECABF2 is a light, moderately saturated purple. In OKLCH its lightness is 83%, its chroma 0.119 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.038 away. Black text reads best on it, at 11.67:1.

Hue familyPurples
Lightnesslight (83%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.67:1
White text1.79:1

Values

HEX#ECABF2
RGBrgb(236, 171, 242)
HSLhsl(295, 73%, 81%)
OKLCHoklch(82.5% 0.119 323.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 #ECABF2 1.79:1 Fails Lc -37.3 Non-text elements, placeholder text
Black text on #ECABF2 11.67:1 AAA Lc 70.6 Content text, not long reading
#ECABF2 text on white 1.79:1 Fails Lc 33.3 Non-text elements, placeholder text
#ECABF2 text on black 11.67:1 AAA Lc -69.4 Content text, not long reading

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 300.

  1. Step 50

    50

    #FBF2FC

    oklch(97.1% 0.016 322.7)

  2. Step 100

    100

    #F6E3F7

    oklch(93.7% 0.033 324.3)

  3. Step 200

    200

    #F0CBF3

    oklch(88.6% 0.067 323.7)

  4. Step 300

    300 (this color)

    #ECABF2

    oklch(82.5% 0.119 323.7)

  5. Step 400

    400

    #D871E3

    oklch(70.7% 0.19 323.6)

  6. Step 500

    500

    #CC40DB

    oklch(63.2% 0.244 323.7)

  7. Step 600

    600

    #B600C7

    oklch(55.6% 0.262 323.6)

  8. Step 700

    700

    #9A00A8

    oklch(49.1% 0.231 323.8)

  9. Step 800

    800

    #7F008B

    oklch(42.7% 0.201 323.7)

  10. Step 900

    900

    #671370

    oklch(37.7% 0.159 323.6)

  11. Step 950

    950

    #3D0E42

    oklch(27% 0.102 323.7)

Export this scale for Tailwind in the Tailwind colors tool

#ECABF2 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)#A5BCF50.105
Deuteranopia (no green cones)#B4C4F00.097
Tritanopia (no blue cones)#EFB2C50.072
Achromatopsia (no color)#C1C1C10.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECABF2

    #ECABF2

    oklch(82.5% 0.119 323.7)

  • #95DA93

    #95DA93

    oklch(82.5% 0.12 143.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECABF2

    #ECABF2

    oklch(82.5% 0.119 323.7)

  • #C8BAFF

    #C8BAFF

    oklch(82.5% 0.097 293.5)

  • #FFA7CB

    #FFA7CB

    oklch(82.5% 0.112 353.7)

Open the analogous palette in the generator

Split complementary

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

  • #ECABF2

    #ECABF2

    oklch(82.5% 0.119 323.7)

  • #C5CE70

    #C5CE70

    oklch(82.4% 0.119 113.5)

  • #65DFBF

    #65DFBF

    oklch(82.5% 0.12 173.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECABF2

    #ECABF2

    oklch(82.5% 0.119 323.7)

  • #EBBF65

    #EBBF65

    oklch(82.6% 0.12 83.6)

  • #50DCE9

    #50DCE9

    oklch(82.5% 0.119 203.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECABF2

    #ECABF2

    oklch(82.5% 0.119 323.7)

  • #FFB27F

    #FFB27F

    oklch(82.6% 0.112 54.1)

  • #95DA93

    #95DA93

    oklch(82.5% 0.12 143.7)

  • #7DD1FF

    #7DD1FF

    oklch(82.4% 0.104 234)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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