#EC81DD

Closest named color: Violet (#EE82EE). oklch(75.1% 0.172 332.5), rgb(236, 129, 221).

Aa

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

About this color

#EC81DD is a medium-light, vivid purple. In OKLCH its lightness is 75%, its chroma 0.172 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.025 away. Black text reads best on it, at 8.75:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.172)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.75:1
White text2.39:1

Values

HEX#EC81DD
RGBrgb(236, 129, 221)
HSLhsl(308, 74%, 72%)
OKLCHoklch(75.1% 0.172 332.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 #EC81DD 2.39:1 Fails Lc -51.9 Large or bold text, headings
Black text on #EC81DD 8.75:1 AAA Lc 57.1 Large or bold text, headings
#EC81DD text on white 2.39:1 Fails Lc 46.9 Large or bold text, headings
#EC81DD text on black 8.75:1 AAA Lc -55.1 Large or bold text, headings

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 400.

  1. Step 50

    50

    #FCF2FA

    oklch(97.1% 0.015 332.2)

  2. Step 100

    100

    #F7E3F3

    oklch(93.6% 0.03 332.5)

  3. Step 200

    200

    #F2CBEB

    oklch(88.5% 0.061 332.2)

  4. Step 300

    300

    #EAA7DF

    oklch(80.9% 0.107 332.4)

  5. Step 400

    400 (this color)

    #EC81DD

    oklch(75.1% 0.172 332.5)

  6. Step 500

    500

    #D146C2

    oklch(63.1% 0.22 332.5)

  7. Step 600

    600

    #BC18AE

    oklch(55.6% 0.238 332.5)

  8. Step 700

    700

    #A10095

    oklch(49% 0.221 332.4)

  9. Step 800

    800

    #830C79

    oklch(42.6% 0.184 332.5)

  10. Step 900

    900

    #6A1862

    oklch(37.7% 0.143 332.4)

  11. Step 950

    950

    #3E1139

    oklch(27% 0.089 332.4)

Export this scale for Tailwind in the Tailwind colors tool

#EC81DD 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)#7F9EE00.171
Deuteranopia (no green cones)#9CADDA0.154
Tritanopia (no blue cones)#F488A50.090
Achromatopsia (no color)#A7A7A70.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC81DD

    #EC81DD

    oklch(75.1% 0.172 332.5)

  • #3ECC77

    #3ECC77

    oklch(75% 0.171 152.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC81DD

    #EC81DD

    oklch(75.1% 0.172 332.5)

  • #C294FF

    #C294FF

    oklch(75.1% 0.156 302.7)

  • #FF7EA5

    #FF7EA5

    oklch(75.1% 0.161 2.6)

Open the analogous palette in the generator

Split complementary

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

  • #EC81DD

    #EC81DD

    oklch(75.1% 0.172 332.5)

  • #9BBE26

    #9BBE26

    oklch(75% 0.172 122.5)

  • #00C9B5

    #00C9B5

    oklch(75% 0.134 182.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC81DD

    #EC81DD

    oklch(75.1% 0.172 332.5)

  • #D0AA00

    #D0AA00

    oklch(75% 0.154 92.7)

  • #00C3DF

    #00C3DF

    oklch(75.1% 0.131 212.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC81DD

    #EC81DD

    oklch(75.1% 0.172 332.5)

  • #F99102

    #F99102

    oklch(75.1% 0.172 62.3)

  • #3ECC77

    #3ECC77

    oklch(75% 0.171 152.7)

  • #51B7FF

    #51B7FF

    oklch(75% 0.14 242.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #EC81DD.

Similar named colors

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

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