#EC8CE7

Closest named color: Violet (#EE82EE). oklch(77.1% 0.162 328.9), rgb(236, 140, 231).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (77%)
Chromavivid (0.162)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text9.47:1
White text2.21:1

Values

HEX#EC8CE7
RGBrgb(236, 140, 231)
HSLhsl(303, 72%, 74%)
OKLCHoklch(77.1% 0.162 328.9)

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 #EC8CE7 2.21:1 Fails Lc -48.1 Large or bold text, headings
Black text on #EC8CE7 9.47:1 AAA Lc 60.6 Content text, not long reading
#EC8CE7 text on white 2.21:1 Fails Lc 43.4 Non-text elements, placeholder text
#EC8CE7 text on black 9.47:1 AAA Lc -58.8 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

    #FBC4F7

    oklch(88.5% 0.091 328.7)

  4. Step 300

    300 (this color)

    #EC8CE7

    oklch(77.1% 0.162 328.9)

  5. Step 400

    400

    #F14FEE

    oklch(70.7% 0.259 328.7)

  6. Step 500

    500

    #DE00DC

    oklch(63.1% 0.289 328.9)

  7. Step 600

    600

    #BC00BA

    oklch(55.7% 0.255 328.9)

  8. Step 700

    700

    #9F009D

    oklch(49.2% 0.225 329)

  9. Step 800

    800

    #830082

    oklch(42.7% 0.196 328.8)

  10. Step 900

    900

    #6E006D

    oklch(37.7% 0.173 328.8)

  11. Step 950

    950

    #440043

    oklch(27.1% 0.124 329.1)

Export this scale for Tailwind in the Tailwind colors tool

#EC8CE7 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)#86A6EA0.156
Deuteranopia (no green cones)#A0B3E40.142
Tritanopia (no blue cones)#F294AF0.090
Achromatopsia (no color)#AEAEAE0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC8CE7

    #EC8CE7

    oklch(77.1% 0.162 328.9)

  • #5ED079

    #5ED079

    oklch(77% 0.161 149)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC8CE7

    #EC8CE7

    oklch(77.1% 0.162 328.9)

  • #C1A0FF

    #C1A0FF

    oklch(77.1% 0.136 299.2)

  • #FF89B3

    #FF89B3

    oklch(77.1% 0.149 358.5)

Open the analogous palette in the generator

Split complementary

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

  • #EC8CE7

    #EC8CE7

    oklch(77.1% 0.162 328.9)

  • #AAC235

    #AAC235

    oklch(77.1% 0.162 118.9)

  • #00D1B6

    #00D1B6

    oklch(77.1% 0.141 179)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC8CE7

    #EC8CE7

    oklch(77.1% 0.162 328.9)

  • #DDAE00

    #DDAE00

    oklch(77.2% 0.158 89.1)

  • #00CBE2

    #00CBE2

    oklch(77.1% 0.133 209.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC8CE7

    #EC8CE7

    oklch(77.1% 0.162 328.9)

  • #FF9736

    #FF9736

    oklch(77.1% 0.163 58.7)

  • #5ED079

    #5ED079

    oklch(77% 0.161 149)

  • #58BFFF

    #58BFFF

    oklch(77% 0.132 239.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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