#ECAFEF

Closest named color: Light Violet (#D6B4FC). oklch(83.1% 0.109 325), rgb(236, 175, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (83%)
Chromamoderately saturated (0.109)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.94:1
White text1.75:1

Values

HEX#ECAFEF
RGBrgb(236, 175, 239)
HSLhsl(297, 67%, 81%)
OKLCHoklch(83.1% 0.109 325)

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 #ECAFEF 1.75:1 Fails Lc -36.0 Non-text elements, placeholder text
Black text on #ECAFEF 11.94:1 AAA Lc 71.8 Content text, not long reading
#ECAFEF text on white 1.75:1 Fails Lc 32.1 Non-text elements, placeholder text
#ECAFEF text on black 11.94:1 AAA Lc -70.6 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

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F5E3F6

    oklch(93.6% 0.032 324.2)

  3. Step 200

    200

    #EECCF0

    oklch(88.5% 0.061 324.3)

  4. Step 300

    300 (this color)

    #ECAFEF

    oklch(83.1% 0.109 325)

  5. Step 400

    400

    #D675DC

    oklch(70.7% 0.176 325.1)

  6. Step 500

    500

    #C84AD2

    oklch(63.1% 0.223 324.7)

  7. Step 600

    600

    #B41EBF

    oklch(55.7% 0.243 324.9)

  8. Step 700

    700

    #9A07A5

    oklch(49.1% 0.226 324.7)

  9. Step 800

    800

    #7D1185

    oklch(42.6% 0.187 324.9)

  10. Step 900

    900

    #651A6B

    oklch(37.7% 0.146 324.7)

  11. Step 950

    950

    #3C123F

    oklch(27.2% 0.092 325)

Export this scale for Tailwind in the Tailwind colors tool

#ECAFEF 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)#AABFF20.097
Deuteranopia (no green cones)#B8C6ED0.090
Tritanopia (no blue cones)#EFB5C60.065
Achromatopsia (no color)#C3C3C30.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECAFEF

    #ECAFEF

    oklch(83.1% 0.109 325)

  • #9ADB9B

    #9ADB9B

    oklch(83.1% 0.11 144.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECAFEF

    #ECAFEF

    oklch(83.1% 0.109 325)

  • #CBBCFF

    #CBBCFF

    oklch(83.1% 0.094 294.5)

  • #FFABCB

    #FFABCB

    oklch(83.1% 0.106 355.1)

Open the analogous palette in the generator

Split complementary

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

  • #ECAFEF

    #ECAFEF

    oklch(83.1% 0.109 325)

  • #C5D07B

    #C5D07B

    oklch(83% 0.109 114.9)

  • #71DFC3

    #71DFC3

    oklch(83.1% 0.11 174.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECAFEF

    #ECAFEF

    oklch(83.1% 0.109 325)

  • #E8C271

    #E8C271

    oklch(83% 0.109 84.9)

  • #63DCE9

    #63DCE9

    oklch(83.1% 0.109 204.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECAFEF

    #ECAFEF

    oklch(83.1% 0.109 325)

  • #FFB482

    #FFB482

    oklch(83% 0.109 54.3)

  • #9ADB9B

    #9ADB9B

    oklch(83.1% 0.11 144.9)

  • #85D2FF

    #85D2FF

    oklch(83% 0.099 235.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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