#EC82DF

Closest named color: Violet (#EE82EE). oklch(75.3% 0.172 331.8), rgb(236, 130, 223).

Aa

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

About this color

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

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

Values

HEX#EC82DF
RGBrgb(236, 130, 223)
HSLhsl(307, 74%, 72%)
OKLCHoklch(75.3% 0.172 331.8)

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 #EC82DF 2.37:1 Fails Lc -51.5 Large or bold text, headings
Black text on #EC82DF 8.82:1 AAA Lc 57.5 Large or bold text, headings
#EC82DF text on white 2.37:1 Fails Lc 46.5 Large or bold text, headings
#EC82DF text on black 8.82: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

    #F7E3F3

    oklch(93.6% 0.03 332.5)

  3. Step 200

    200

    #F1CBEB

    oklch(88.4% 0.06 331.4)

  4. Step 300

    300

    #EAA7E0

    oklch(81% 0.108 331.8)

  5. Step 400

    400 (this color)

    #EC82DF

    oklch(75.3% 0.172 331.8)

  6. Step 500

    500

    #D047C3

    oklch(63.1% 0.219 331.9)

  7. Step 600

    600

    #BB19AF

    oklch(55.6% 0.238 331.9)

  8. Step 700

    700

    #A10097

    oklch(49.1% 0.222 331.7)

  9. Step 800

    800

    #830D7A

    oklch(42.7% 0.184 332)

  10. Step 900

    900

    #691862

    oklch(37.6% 0.143 331.8)

  11. Step 950

    950

    #3E113A

    oklch(27% 0.09 331.5)

Export this scale for Tailwind in the Tailwind colors tool

#EC82DF 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)#7F9FE20.170
Deuteranopia (no green cones)#9CADDC0.153
Tritanopia (no blue cones)#F489A60.091
Achromatopsia (no color)#A8A8A80.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC82DF

    #EC82DF

    oklch(75.3% 0.172 331.8)

  • #43CD76

    #43CD76

    oklch(75.4% 0.172 151.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC82DF

    #EC82DF

    oklch(75.3% 0.172 331.8)

  • #C196FF

    #C196FF

    oklch(75.4% 0.152 301.7)

  • #FF7FA7

    #FF7FA7

    oklch(75.3% 0.16 1.9)

Open the analogous palette in the generator

Split complementary

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

  • #EC82DF

    #EC82DF

    oklch(75.3% 0.172 331.8)

  • #9EBF25

    #9EBF25

    oklch(75.4% 0.172 121.8)

  • #00CAB5

    #00CAB5

    oklch(75.3% 0.135 181.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC82DF

    #EC82DF

    oklch(75.3% 0.172 331.8)

  • #D2AA00

    #D2AA00

    oklch(75.2% 0.154 91.8)

  • #00C4DF

    #00C4DF

    oklch(75.3% 0.131 212.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC82DF

    #EC82DF

    oklch(75.3% 0.172 331.8)

  • #FA910B

    #FA910B

    oklch(75.2% 0.172 61.6)

  • #43CD76

    #43CD76

    oklch(75.4% 0.172 151.8)

  • #51B8FF

    #51B8FF

    oklch(75.2% 0.14 242.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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