#EC8EEA

Closest named color: Violet (#EE82EE). oklch(77.5% 0.161 327.7), rgb(236, 142, 234).

Aa

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

About this color

#EC8EEA is a medium-light, vivid purple. In OKLCH its lightness is 78%, its chroma 0.161 and its hue 328°. 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.62:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromavivid (0.161)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text9.62:1
White text2.18:1

Values

HEX#EC8EEA
RGBrgb(236, 142, 234)
HSLhsl(301, 71%, 74%)
OKLCHoklch(77.5% 0.161 327.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 #EC8EEA 2.18:1 Fails Lc -47.4 Large or bold text, headings
Black text on #EC8EEA 9.62:1 AAA Lc 61.3 Content text, not long reading
#EC8EEA text on white 2.18:1 Fails Lc 42.6 Non-text elements, placeholder text
#EC8EEA text on black 9.62:1 AAA Lc -59.6 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

    #FEF1FD

    oklch(97.2% 0.021 328.1)

  2. Step 100

    100

    #FCDFFA

    oklch(93.5% 0.047 328.1)

  3. Step 200

    200

    #FAC5F8

    oklch(88.6% 0.089 327.5)

  4. Step 300

    300 (this color)

    #EC8EEA

    oklch(77.5% 0.161 327.7)

  5. Step 400

    400

    #EF50F0

    oklch(70.6% 0.259 327.6)

  6. Step 500

    500

    #DD00DF

    oklch(63.1% 0.291 327.9)

  7. Step 600

    600

    #BA00BD

    oklch(55.5% 0.256 327.5)

  8. Step 700

    700

    #9E009F

    oklch(49.1% 0.226 328)

  9. Step 800

    800

    #820084

    oklch(42.7% 0.197 327.6)

  10. Step 900

    900

    #6D006F

    oklch(37.7% 0.174 327.4)

  11. Step 950

    950

    #430044

    oklch(26.9% 0.124 327.7)

Export this scale for Tailwind in the Tailwind colors tool

#EC8EEA 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)#87A8ED0.154
Deuteranopia (no green cones)#A0B4E70.140
Tritanopia (no blue cones)#F297B10.092
Achromatopsia (no color)#AFAFAF0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC8EEA

    #EC8EEA

    oklch(77.5% 0.161 327.7)

  • #64D178

    #64D178

    oklch(77.5% 0.161 147.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC8EEA

    #EC8EEA

    oklch(77.5% 0.161 327.7)

  • #C0A3FF

    #C0A3FF

    oklch(77.6% 0.131 297.8)

  • #FF8CB6

    #FF8CB6

    oklch(77.6% 0.146 357.8)

Open the analogous palette in the generator

Split complementary

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

  • #EC8EEA

    #EC8EEA

    oklch(77.5% 0.161 327.7)

  • #AEC335

    #AEC335

    oklch(77.6% 0.162 117.8)

  • #00D3B5

    #00D3B5

    oklch(77.5% 0.143 177.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC8EEA

    #EC8EEA

    oklch(77.5% 0.161 327.7)

  • #E0AE00

    #E0AE00

    oklch(77.5% 0.158 87.8)

  • #00CDE2

    #00CDE2

    oklch(77.6% 0.133 207.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC8EEA

    #EC8EEA

    oklch(77.5% 0.161 327.7)

  • #FF9942

    #FF9942

    oklch(77.5% 0.157 57.4)

  • #64D178

    #64D178

    oklch(77.5% 0.161 147.8)

  • #59C1FF

    #59C1FF

    oklch(77.5% 0.131 238)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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