#EC8AE2

Closest named color: Violet (#EE82EE). oklch(76.6% 0.161 330.8), rgb(236, 138, 226).

Aa

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

About this color

#EC8AE2 is a medium-light, vivid purple. In OKLCH its lightness is 77%, its chroma 0.161 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.028 away. Black text reads best on it, at 9.30:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromavivid (0.161)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text9.30:1
White text2.25:1

Values

HEX#EC8AE2
RGBrgb(236, 138, 226)
HSLhsl(306, 72%, 73%)
OKLCHoklch(76.6% 0.161 330.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 #EC8AE2 2.25:1 Fails Lc -49.0 Large or bold text, headings
Black text on #EC8AE2 9.30:1 AAA Lc 59.8 Large or bold text, headings
#EC8AE2 text on white 2.25:1 Fails Lc 44.2 Non-text elements, placeholder text
#EC8AE2 text on black 9.30:1 AAA Lc -57.9 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 300.

  1. Step 50

    50

    #FEF1FC

    oklch(97.1% 0.02 330.6)

  2. Step 100

    100

    #FDDFF9

    oklch(93.6% 0.047 330.3)

  3. Step 200

    200

    #FCC4F5

    oklch(88.5% 0.09 330.6)

  4. Step 300

    300 (this color)

    #EC8AE2

    oklch(76.6% 0.161 330.8)

  5. Step 400

    400

    #F44EE9

    oklch(70.8% 0.258 330.7)

  6. Step 500

    500

    #E000D6

    oklch(63% 0.286 330.8)

  7. Step 600

    600

    #BD00B5

    oklch(55.5% 0.252 330.7)

  8. Step 700

    700

    #A00099

    oklch(49.1% 0.223 330.7)

  9. Step 800

    800

    #84007E

    oklch(42.6% 0.194 330.8)

  10. Step 900

    900

    #6F006A

    oklch(37.7% 0.171 330.7)

  11. Step 950

    950

    #440041

    oklch(26.9% 0.122 330.5)

Export this scale for Tailwind in the Tailwind colors tool

#EC8AE2 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)#86A4E50.157
Deuteranopia (no green cones)#A0B1DF0.142
Tritanopia (no blue cones)#F391AC0.086
Achromatopsia (no color)#ACACAC0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC8AE2

    #EC8AE2

    oklch(76.6% 0.161 330.8)

  • #57CF7C

    #57CF7C

    oklch(76.6% 0.16 150.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC8AE2

    #EC8AE2

    oklch(76.6% 0.161 330.8)

  • #C29CFF

    #C29CFF

    oklch(76.5% 0.143 300.8)

  • #FF87AE

    #FF87AE

    oklch(76.6% 0.15 0.6)

Open the analogous palette in the generator

Split complementary

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

  • #EC8AE2

    #EC8AE2

    oklch(76.6% 0.161 330.8)

  • #A5C239

    #A5C239

    oklch(76.7% 0.162 120.8)

  • #00CFB8

    #00CFB8

    oklch(76.6% 0.138 181)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC8AE2

    #EC8AE2

    oklch(76.6% 0.161 330.8)

  • #D8AE00

    #D8AE00

    oklch(76.7% 0.157 91.3)

  • #00C9E2

    #00C9E2

    oklch(76.6% 0.133 210.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC8AE2

    #EC8AE2

    oklch(76.6% 0.161 330.8)

  • #FB9731

    #FB9731

    oklch(76.5% 0.161 60.7)

  • #57CF7C

    #57CF7C

    oklch(76.6% 0.16 150.9)

  • #5ABDFF

    #5ABDFF

    oklch(76.6% 0.133 240.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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