#ECAFFF

Closest named color: Light Violet (#D6B4FC). oklch(83.7% 0.126 318), rgb(236, 175, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (84%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text12.14:1
White text1.72:1

Values

HEX#ECAFFF
RGBrgb(236, 175, 255)
HSLhsl(286, 100%, 84%)
OKLCHoklch(83.7% 0.126 318)

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 #ECAFFF 1.72:1 Fails Lc -35.1 Non-text elements, placeholder text
Black text on #ECAFFF 12.14:1 AAA Lc 72.6 Content text, not long reading
#ECAFFF text on white 1.72:1 Fails Lc 31.2 Non-text elements, placeholder text
#ECAFFF text on black 12.14:1 AAA Lc -71.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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F4E3FA

    oklch(93.6% 0.036 317.3)

  3. Step 200

    200

    #EDCBF8

    oklch(88.5% 0.071 317.8)

  4. Step 300

    300 (this color)

    #ECAFFF

    oklch(83.7% 0.126 318)

  5. Step 400

    400

    #D370F0

    oklch(70.7% 0.202 318.1)

  6. Step 500

    500

    #C63DEB

    oklch(63.1% 0.258 318)

  7. Step 600

    600

    #B000D5

    oklch(55.7% 0.27 318.2)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0095

    oklch(42.6% 0.207 318)

  10. Step 900

    900

    #641079

    oklch(37.7% 0.168 318.1)

  11. Step 950

    950

    #3B0E47

    oklch(27.1% 0.106 318.2)

Export this scale for Tailwind in the Tailwind colors tool

#ECAFFF 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)#A5C1FF0.104
Deuteranopia (no green cones)#B3C7FC0.096
Tritanopia (no blue cones)#ECB8CC0.083
Achromatopsia (no color)#C5C5C50.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECAFFF

    #ECAFFF

    oklch(83.7% 0.126 318)

  • #A0DD8B

    #A0DD8B

    oklch(83.6% 0.127 138)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECAFFF

    #ECAFFF

    oklch(83.7% 0.126 318)

  • #C6C1FF

    #C6C1FF

    oklch(83.6% 0.086 288.1)

  • #FFACD6

    #FFACD6

    oklch(83.7% 0.11 348)

Open the analogous palette in the generator

Split complementary

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

  • #ECAFFF

    #ECAFFF

    oklch(83.7% 0.126 318)

  • #D1D068

    #D1D068

    oklch(83.7% 0.127 108.4)

  • #6AE4BA

    #6AE4BA

    oklch(83.7% 0.126 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECAFFF

    #ECAFFF

    oklch(83.7% 0.126 318)

  • #F7BF63

    #F7BF63

    oklch(83.7% 0.127 78)

  • #46E2E7

    #46E2E7

    oklch(83.6% 0.126 198.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECAFFF

    #ECAFFF

    oklch(83.7% 0.126 318)

  • #FFB691

    #FFB691

    oklch(83.6% 0.099 47.8)

  • #A0DD8B

    #A0DD8B

    oklch(83.6% 0.127 138)

  • #7BD7FF

    #7BD7FF

    oklch(83.7% 0.104 228.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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