#EC81E3

Closest named color: Violet (#EE82EE). oklch(75.3% 0.177 330.3), rgb(236, 129, 227).

Aa

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

About this color

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

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

Values

HEX#EC81E3
RGBrgb(236, 129, 227)
HSLhsl(305, 74%, 72%)
OKLCHoklch(75.3% 0.177 330.3)

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 #EC81E3 2.38:1 Fails Lc -51.5 Large or bold text, headings
Black text on #EC81E3 8.81:1 AAA Lc 57.4 Large or bold text, headings
#EC81E3 text on white 2.38:1 Fails Lc 46.6 Large or bold text, headings
#EC81E3 text on black 8.81:1 AAA Lc -55.5 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

    #F7E3F4

    oklch(93.7% 0.031 330.7)

  3. Step 200

    200

    #F1CBED

    oklch(88.5% 0.062 329.5)

  4. Step 300

    300

    #EAA6E2

    oklch(80.9% 0.111 330.7)

  5. Step 400

    400 (this color)

    #EC81E3

    oklch(75.3% 0.177 330.3)

  6. Step 500

    500

    #D044C8

    oklch(63.1% 0.227 330.3)

  7. Step 600

    600

    #BB11B4

    oklch(55.6% 0.245 330.4)

  8. Step 700

    700

    #A0009A

    oklch(49.1% 0.224 330.4)

  9. Step 800

    800

    #83087E

    oklch(42.8% 0.189 330.3)

  10. Step 900

    900

    #691765

    oklch(37.7% 0.147 330.2)

  11. Step 950

    950

    #3E103B

    oklch(27% 0.093 330.5)

Export this scale for Tailwind in the Tailwind colors tool

#EC81E3 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)#7C9FE60.174
Deuteranopia (no green cones)#9AADE00.156
Tritanopia (no blue cones)#F389A80.095
Achromatopsia (no color)#A8A8A80.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC81E3

    #EC81E3

    oklch(75.3% 0.177 330.3)

  • #44CD70

    #44CD70

    oklch(75.3% 0.177 150.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC81E3

    #EC81E3

    oklch(75.3% 0.177 330.3)

  • #BE97FF

    #BE97FF

    oklch(75.3% 0.15 300.1)

  • #FF7FAA

    #FF7FAA

    oklch(75.4% 0.161 0.4)

Open the analogous palette in the generator

Split complementary

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

  • #EC81E3

    #EC81E3

    oklch(75.3% 0.177 330.3)

  • #A1BE0F

    #A1BE0F

    oklch(75.3% 0.176 120.2)

  • #00CBB3

    #00CBB3

    oklch(75.5% 0.137 180.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC81E3

    #EC81E3

    oklch(75.3% 0.177 330.3)

  • #D4A900

    #D4A900

    oklch(75.2% 0.154 90.3)

  • #00C5DD

    #00C5DD

    oklch(75.5% 0.131 210.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC81E3

    #EC81E3

    oklch(75.3% 0.177 330.3)

  • #FD8F00

    #FD8F00

    oklch(75.3% 0.176 60.2)

  • #44CD70

    #44CD70

    oklch(75.3% 0.177 150.3)

  • #4BB9FF

    #4BB9FF

    oklch(75.3% 0.141 240.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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