#ECB2FF

Closest named color: Light Violet (#D6B4FC). oklch(84.2% 0.121 317.6), rgb(236, 178, 255).

Aa

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

About this color

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

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

Values

HEX#ECB2FF
RGBrgb(236, 178, 255)
HSLhsl(285, 100%, 85%)
OKLCHoklch(84.2% 0.121 317.6)

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 #ECB2FF 1.69:1 Fails Lc -34.0 Non-text elements, placeholder text
Black text on #ECB2FF 12.37:1 AAA Lc 73.7 Content text, not long reading
#ECB2FF text on white 1.69:1 Fails Lc 30.2 Non-text elements, placeholder text
#ECB2FF text on black 12.37:1 AAA Lc -72.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

    #ECCCF7

    oklch(88.5% 0.067 317.4)

  4. Step 300

    300 (this color)

    #ECB2FF

    oklch(84.2% 0.121 317.6)

  5. Step 400

    400

    #D173EE

    oklch(70.7% 0.194 317.7)

  6. Step 500

    500

    #C343E8

    oklch(63.1% 0.248 317.5)

  7. Step 600

    600

    #AF02D6

    oklch(55.6% 0.269 317.6)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0096

    oklch(42.7% 0.207 317.7)

  10. Step 900

    900

    #621578

    oklch(37.7% 0.162 317.2)

  11. Step 950

    950

    #3A1046

    oklch(27.1% 0.102 317.8)

Export this scale for Tailwind in the Tailwind colors tool

#ECB2FF 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)#A8C3FF0.099
Deuteranopia (no green cones)#B5C9FD0.092
Tritanopia (no blue cones)#ECBBCE0.080
Achromatopsia (no color)#C7C7C70.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECB2FF

    #ECB2FF

    oklch(84.2% 0.121 317.6)

  • #A4DE8F

    #A4DE8F

    oklch(84.2% 0.122 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECB2FF

    #ECB2FF

    oklch(84.2% 0.121 317.6)

  • #C8C3FF

    #C8C3FF

    oklch(84.2% 0.083 288.3)

  • #FFAFD8

    #FFAFD8

    oklch(84.2% 0.106 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #ECB2FF

    #ECB2FF

    oklch(84.2% 0.121 317.6)

  • #D3D16F

    #D3D16F

    oklch(84.2% 0.121 107.7)

  • #72E5BC

    #72E5BC

    oklch(84.3% 0.121 167.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECB2FF

    #ECB2FF

    oklch(84.2% 0.121 317.6)

  • #F7C16B

    #F7C16B

    oklch(84.2% 0.121 77.5)

  • #53E3E7

    #53E3E7

    oklch(84.1% 0.121 197.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECB2FF

    #ECB2FF

    oklch(84.2% 0.121 317.6)

  • #FFB996

    #FFB996

    oklch(84.3% 0.094 47.6)

  • #A4DE8F

    #A4DE8F

    oklch(84.2% 0.122 137.7)

  • #7FD9FF

    #7FD9FF

    oklch(84.3% 0.101 227.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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