#EC82E2

Closest named color: Violet (#EE82EE). oklch(75.4% 0.174 330.7), rgb(236, 130, 226).

Aa

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

About this color

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

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

Values

HEX#EC82E2
RGBrgb(236, 130, 226)
HSLhsl(306, 74%, 72%)
OKLCHoklch(75.4% 0.174 330.7)

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 #EC82E2 2.37:1 Fails Lc -51.3 Large or bold text, headings
Black text on #EC82E2 8.85:1 AAA Lc 57.6 Large or bold text, headings
#EC82E2 text on white 2.37:1 Fails Lc 46.4 Large or bold text, headings
#EC82E2 text on black 8.85:1 AAA Lc -55.7 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

    #F1CBEC

    oklch(88.4% 0.061 330.4)

  4. Step 300

    300

    #E9A7E1

    oklch(80.9% 0.108 330.8)

  5. Step 400

    400 (this color)

    #EC82E2

    oklch(75.4% 0.174 330.7)

  6. Step 500

    500

    #D046C6

    oklch(63.2% 0.223 330.9)

  7. Step 600

    600

    #BB16B3

    oklch(55.7% 0.242 330.7)

  8. Step 700

    700

    #A00099

    oklch(49.1% 0.223 330.7)

  9. Step 800

    800

    #820B7D

    oklch(42.6% 0.187 330.4)

  10. Step 900

    900

    #691864

    oklch(37.7% 0.145 330.7)

  11. Step 950

    950

    #3E103B

    oklch(27% 0.093 330.5)

Export this scale for Tailwind in the Tailwind colors tool

#EC82E2 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)#7E9FE50.171
Deuteranopia (no green cones)#9BAEDF0.155
Tritanopia (no blue cones)#F38AA80.093
Achromatopsia (no color)#A8A8A80.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC82E2

    #EC82E2

    oklch(75.4% 0.174 330.7)

  • #45CD72

    #45CD72

    oklch(75.4% 0.174 150.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC82E2

    #EC82E2

    oklch(75.4% 0.174 330.7)

  • #BF97FF

    #BF97FF

    oklch(75.4% 0.15 300.6)

  • #FF80AA

    #FF80AA

    oklch(75.5% 0.16 0.7)

Open the analogous palette in the generator

Split complementary

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

  • #EC82E2

    #EC82E2

    oklch(75.4% 0.174 330.7)

  • #A0BF1B

    #A0BF1B

    oklch(75.5% 0.175 120.9)

  • #00CBB4

    #00CBB4

    oklch(75.5% 0.136 180.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC82E2

    #EC82E2

    oklch(75.4% 0.174 330.7)

  • #D4AA00

    #D4AA00

    oklch(75.4% 0.154 90.9)

  • #00C5DE

    #00C5DE

    oklch(75.5% 0.131 210.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC82E2

    #EC82E2

    oklch(75.4% 0.174 330.7)

  • #FC9008

    #FC9008

    oklch(75.3% 0.174 60.7)

  • #45CD72

    #45CD72

    oklch(75.4% 0.174 150.6)

  • #4EB9FF

    #4EB9FF

    oklch(75.3% 0.14 241)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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