#ECAFFA

Closest named color: Light Violet (#D6B4FC). oklch(83.5% 0.121 320), rgb(236, 175, 250).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (84%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text12.07:1
White text1.73:1

Values

HEX#ECAFFA
RGBrgb(236, 175, 250)
HSLhsl(289, 88%, 83%)
OKLCHoklch(83.5% 0.121 320)

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 #ECAFFA 1.73:1 Fails Lc -35.4 Non-text elements, placeholder text
Black text on #ECAFFA 12.07:1 AAA Lc 72.4 Content text, not long reading
#ECAFFA text on white 1.73:1 Fails Lc 31.5 Non-text elements, placeholder text
#ECAFFA text on black 12.07:1 AAA Lc -71.3 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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F5E3F9

    oklch(93.7% 0.035 320.1)

  3. Step 200

    200

    #EDCBF5

    oklch(88.4% 0.067 319.8)

  4. Step 300

    300 (this color)

    #ECAFFA

    oklch(83.5% 0.121 320)

  5. Step 400

    400

    #D472EA

    oklch(70.7% 0.193 320)

  6. Step 500

    500

    #C741E3

    oklch(63.1% 0.247 320.1)

  7. Step 600

    600

    #B200D0

    oklch(55.6% 0.267 320.1)

  8. Step 700

    700

    #9600B0

    oklch(49% 0.235 320)

  9. Step 800

    800

    #7C0092

    oklch(42.7% 0.205 319.9)

  10. Step 900

    900

    #641475

    oklch(37.7% 0.161 319.7)

  11. Step 950

    950

    #3B0F44

    oklch(27% 0.102 320.3)

Export this scale for Tailwind in the Tailwind colors tool

#ECAFFA 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)#A6C0FD0.102
Deuteranopia (no green cones)#B4C7F80.095
Tritanopia (no blue cones)#EDB7CA0.077
Achromatopsia (no color)#C4C4C40.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECAFFA

    #ECAFFA

    oklch(83.5% 0.121 320)

  • #9EDC91

    #9EDC91

    oklch(83.4% 0.12 140.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECAFFA

    #ECAFFA

    oklch(83.5% 0.121 320)

  • #C7C0FF

    #C7C0FF

    oklch(83.5% 0.088 289.4)

  • #FFACD3

    #FFACD3

    oklch(83.6% 0.108 350)

Open the analogous palette in the generator

Split complementary

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

  • #ECAFFA

    #ECAFFA

    oklch(83.5% 0.121 320)

  • #CED06F

    #CED06F

    oklch(83.6% 0.121 109.8)

  • #6CE2BD

    #6CE2BD

    oklch(83.4% 0.12 170.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECAFFA

    #ECAFFA

    oklch(83.5% 0.121 320)

  • #F2C068

    #F2C068

    oklch(83.5% 0.121 80)

  • #50E0E8

    #50E0E8

    oklch(83.4% 0.121 200.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECAFFA

    #ECAFFA

    oklch(83.5% 0.121 320)

  • #FFB68D

    #FFB68D

    oklch(83.6% 0.101 50.2)

  • #9EDC91

    #9EDC91

    oklch(83.4% 0.12 140.2)

  • #7ED6FF

    #7ED6FF

    oklch(83.6% 0.102 229.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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