#ECB2F9

Closest named color: Light Violet (#D6B4FC). oklch(84% 0.115 320.1), rgb(236, 178, 249).

Aa

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

About this color

#ECB2F9 is a light, moderately saturated purple. In OKLCH its lightness is 84%, its chroma 0.115 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.033 away. Black text reads best on it, at 12.30:1.

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

Values

HEX#ECB2F9
RGBrgb(236, 178, 249)
HSLhsl(289, 86%, 84%)
OKLCHoklch(84% 0.115 320.1)

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 #ECB2F9 1.70:1 Fails Lc -34.3 Non-text elements, placeholder text
Black text on #ECB2F9 12.30:1 AAA Lc 73.3 Content text, not long reading
#ECB2F9 text on white 1.70:1 Fails Lc 30.5 Non-text elements, placeholder text
#ECB2F9 text on black 12.30:1 AAA Lc -72.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

    #F4E3F8

    oklch(93.6% 0.033 319.8)

  3. Step 200

    200

    #EDCCF4

    oklch(88.5% 0.065 320.3)

  4. Step 300

    300 (this color)

    #ECB2F9

    oklch(84% 0.115 320.1)

  5. Step 400

    400

    #D275E6

    oklch(70.7% 0.184 320.3)

  6. Step 500

    500

    #C448DF

    oklch(63.1% 0.235 319.9)

  7. Step 600

    600

    #B018CC

    oklch(55.7% 0.255 320.2)

  8. Step 700

    700

    #9600B0

    oklch(49% 0.235 320)

  9. Step 800

    800

    #7A0D8F

    oklch(42.7% 0.196 319.9)

  10. Step 900

    900

    #631972

    oklch(37.7% 0.153 320.2)

  11. Step 950

    950

    #3A1143

    oklch(27% 0.097 319.9)

Export this scale for Tailwind in the Tailwind colors tool

#ECB2F9 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)#AAC2FC0.096
Deuteranopia (no green cones)#B7C8F70.089
Tritanopia (no blue cones)#EDBACB0.074
Achromatopsia (no color)#C6C6C60.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECB2F9

    #ECB2F9

    oklch(84% 0.115 320.1)

  • #A2DD95

    #A2DD95

    oklch(83.9% 0.115 140)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECB2F9

    #ECB2F9

    oklch(84% 0.115 320.1)

  • #C9C2FF

    #C9C2FF

    oklch(84.1% 0.085 289.7)

  • #FFAED4

    #FFAED4

    oklch(83.9% 0.105 349.9)

Open the analogous palette in the generator

Split complementary

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

  • #ECB2F9

    #ECB2F9

    oklch(84% 0.115 320.1)

  • #CFD176

    #CFD176

    oklch(83.9% 0.114 109.7)

  • #75E3BF

    #75E3BF

    oklch(84% 0.115 169.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECB2F9

    #ECB2F9

    oklch(84% 0.115 320.1)

  • #F2C26F

    #F2C26F

    oklch(84% 0.115 79.9)

  • #5DE1E8

    #5DE1E8

    oklch(84% 0.115 200.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECB2F9

    #ECB2F9

    oklch(84% 0.115 320.1)

  • #FFB890

    #FFB890

    oklch(84% 0.098 50.4)

  • #A2DD95

    #A2DD95

    oklch(83.9% 0.115 140)

  • #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 #ECB2F9, closest first.

Similar named colors

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

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