#ECB2F8

Closest named color: Light Violet (#D6B4FC). oklch(83.9% 0.114 320.5), rgb(236, 178, 248).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (84%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text12.29:1
White text1.70:1

Values

HEX#ECB2F8
RGBrgb(236, 178, 248)
HSLhsl(290, 83%, 84%)
OKLCHoklch(83.9% 0.114 320.5)

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 #ECB2F8 1.70:1 Fails Lc -34.4 Non-text elements, placeholder text
Black text on #ECB2F8 12.29:1 AAA Lc 73.3 Content text, not long reading
#ECB2F8 text on white 1.70:1 Fails Lc 30.6 Non-text elements, placeholder text
#ECB2F8 text on black 12.29:1 AAA Lc -72.2 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

    #F4E3F8

    oklch(93.6% 0.033 319.8)

  3. Step 200

    200

    #EDCCF3

    oklch(88.5% 0.063 321.1)

  4. Step 300

    300 (this color)

    #ECB2F8

    oklch(83.9% 0.114 320.5)

  5. Step 400

    400

    #D275E5

    oklch(70.7% 0.183 320.6)

  6. Step 500

    500

    #C449DD

    oklch(63.1% 0.232 320.4)

  7. Step 600

    600

    #B01ACA

    oklch(55.6% 0.252 320.7)

  8. Step 700

    700

    #9700AF

    oklch(49.1% 0.235 320.6)

  9. Step 800

    800

    #7B0E8E

    oklch(42.8% 0.195 320.6)

  10. Step 900

    900

    #631971

    oklch(37.7% 0.152 320.7)

  11. Step 950

    950

    #3A1142

    oklch(26.9% 0.096 320.7)

Export this scale for Tailwind in the Tailwind colors tool

#ECB2F8 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)#AAC2FB0.096
Deuteranopia (no green cones)#B8C8F60.088
Tritanopia (no blue cones)#EEB9CB0.072
Achromatopsia (no color)#C6C6C60.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECB2F8

    #ECB2F8

    oklch(83.9% 0.114 320.5)

  • #A2DD96

    #A2DD96

    oklch(84% 0.114 140.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECB2F8

    #ECB2F8

    oklch(83.9% 0.114 320.5)

  • #C9C1FF

    #C9C1FF

    oklch(83.9% 0.086 290.3)

  • #FFAED3

    #FFAED3

    oklch(83.9% 0.105 350.6)

Open the analogous palette in the generator

Split complementary

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

  • #ECB2F8

    #ECB2F8

    oklch(83.9% 0.114 320.5)

  • #CED177

    #CED177

    oklch(83.9% 0.113 110.3)

  • #75E2C0

    #75E2C0

    oklch(83.8% 0.113 170.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECB2F8

    #ECB2F8

    oklch(83.9% 0.114 320.5)

  • #F1C270

    #F1C270

    oklch(83.9% 0.114 80.1)

  • #5FE1E8

    #5FE1E8

    oklch(84.1% 0.114 200.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECB2F8

    #ECB2F8

    oklch(83.9% 0.114 320.5)

  • #FFB88F

    #FFB88F

    oklch(84% 0.099 50.9)

  • #A2DD96

    #A2DD96

    oklch(84% 0.114 140.3)

  • #83D7FF

    #83D7FF

    oklch(84% 0.099 230.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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