#ECAFEB

Closest named color: Light Violet (#D6B4FC). oklch(82.9% 0.105 327), rgb(236, 175, 235).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (83%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.89:1
White text1.76:1

Values

HEX#ECAFEB
RGBrgb(236, 175, 235)
HSLhsl(301, 62%, 81%)
OKLCHoklch(82.9% 0.105 327)

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 #ECAFEB 1.76:1 Fails Lc -36.2 Non-text elements, placeholder text
Black text on #ECAFEB 11.89:1 AAA Lc 71.6 Content text, not long reading
#ECAFEB text on white 1.76:1 Fails Lc 32.3 Non-text elements, placeholder text
#ECAFEB text on black 11.89:1 AAA Lc -70.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

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F5E3F5

    oklch(93.5% 0.031 325.8)

  3. Step 200

    200

    #EFCCEE

    oklch(88.5% 0.059 327)

  4. Step 300

    300 (this color)

    #ECAFEB

    oklch(82.9% 0.105 327)

  5. Step 400

    400

    #D677D7

    oklch(70.8% 0.168 326.8)

  6. Step 500

    500

    #C94CCB

    oklch(63.1% 0.215 327.1)

  7. Step 600

    600

    #B424B8

    oklch(55.6% 0.234 326.9)

  8. Step 700

    700

    #9B119F

    oklch(49.2% 0.218 326.9)

  9. Step 800

    800

    #7E1581

    oklch(42.7% 0.181 326.9)

  10. Step 900

    900

    #661C67

    oklch(37.8% 0.14 327.4)

  11. Step 950

    950

    #3C123C

    oklch(27% 0.089 327.7)

Export this scale for Tailwind in the Tailwind colors tool

#ECAFEB 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)#ABBEED0.096
Deuteranopia (no green cones)#B9C6E90.089
Tritanopia (no blue cones)#F0B4C40.061
Achromatopsia (no color)#C3C3C30.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECAFEB

    #ECAFEB

    oklch(82.9% 0.105 327)

  • #99DA9F

    #99DA9F

    oklch(82.9% 0.105 146.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECAFEB

    #ECAFEB

    oklch(82.9% 0.105 327)

  • #CDBAFF

    #CDBAFF

    oklch(82.9% 0.097 296.9)

  • #FFAAC8

    #FFAAC8

    oklch(82.9% 0.106 356.9)

Open the analogous palette in the generator

Split complementary

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

  • #ECAFEB

    #ECAFEB

    oklch(82.9% 0.105 327)

  • #C2D080

    #C2D080

    oklch(82.9% 0.105 116.8)

  • #73DEC6

    #73DEC6

    oklch(83% 0.106 177.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECAFEB

    #ECAFEB

    oklch(82.9% 0.105 327)

  • #E5C374

    #E5C374

    oklch(83% 0.106 86.8)

  • #68DBEA

    #68DBEA

    oklch(83% 0.106 206.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECAFEB

    #ECAFEB

    oklch(82.9% 0.105 327)

  • #FCB682

    #FCB682

    oklch(83% 0.106 57.3)

  • #99DA9F

    #99DA9F

    oklch(82.9% 0.105 146.9)

  • #87D1FF

    #87D1FF

    oklch(82.9% 0.098 236.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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