#EC8CE5

Closest named color: Violet (#EE82EE). oklch(77% 0.16 329.7), rgb(236, 140, 229).

Aa

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

About this color

#EC8CE5 is a medium-light, vivid purple. In OKLCH its lightness is 77%, its chroma 0.160 and its hue 330°. 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.44:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromavivid (0.160)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text9.44:1
White text2.22:1

Values

HEX#EC8CE5
RGBrgb(236, 140, 229)
HSLhsl(304, 72%, 74%)
OKLCHoklch(77% 0.16 329.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 #EC8CE5 2.22:1 Fails Lc -48.3 Large or bold text, headings
Black text on #EC8CE5 9.44:1 AAA Lc 60.5 Content text, not long reading
#EC8CE5 text on white 2.22:1 Fails Lc 43.5 Non-text elements, placeholder text
#EC8CE5 text on black 9.44:1 AAA Lc -58.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 300.

  1. Step 50

    50

    #FEF1FD

    oklch(97.2% 0.021 328.1)

  2. Step 100

    100

    #FCDFF9

    oklch(93.5% 0.047 329.2)

  3. Step 200

    200

    #FBC4F6

    oklch(88.4% 0.09 329.3)

  4. Step 300

    300 (this color)

    #EC8CE5

    oklch(77% 0.16 329.7)

  5. Step 400

    400

    #F250EB

    oklch(70.8% 0.256 329.7)

  6. Step 500

    500

    #DF00DA

    oklch(63.1% 0.288 329.6)

  7. Step 600

    600

    #BC00B8

    oklch(55.6% 0.254 329.5)

  8. Step 700

    700

    #9F009B

    oklch(49% 0.224 329.7)

  9. Step 800

    800

    #830080

    oklch(42.6% 0.195 329.6)

  10. Step 900

    900

    #6E006C

    oklch(37.6% 0.172 329.3)

  11. Step 950

    950

    #440042

    oklch(27% 0.123 329.8)

Export this scale for Tailwind in the Tailwind colors tool

#EC8CE5 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)#87A6E80.155
Deuteranopia (no green cones)#A1B3E20.141
Tritanopia (no blue cones)#F394AE0.089
Achromatopsia (no color)#AEAEAE0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC8CE5

    #EC8CE5

    oklch(77% 0.16 329.7)

  • #5DD07B

    #5DD07B

    oklch(77% 0.16 149.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC8CE5

    #EC8CE5

    oklch(77% 0.16 329.7)

  • #C29FFF

    #C29FFF

    oklch(77% 0.138 300)

  • #FF89B1

    #FF89B1

    oklch(77% 0.148 359.6)

Open the analogous palette in the generator

Split complementary

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

  • #EC8CE5

    #EC8CE5

    oklch(77% 0.16 329.7)

  • #A8C239

    #A8C239

    oklch(76.9% 0.16 119.7)

  • #00D1B7

    #00D1B7

    oklch(77.1% 0.14 179.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC8CE5

    #EC8CE5

    oklch(77% 0.16 329.7)

  • #DCAE00

    #DCAE00

    oklch(77.1% 0.157 89.5)

  • #00CBE2

    #00CBE2

    oklch(77.1% 0.133 209.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC8CE5

    #EC8CE5

    oklch(77% 0.16 329.7)

  • #FD9837

    #FD9837

    oklch(77% 0.16 59.6)

  • #5DD07B

    #5DD07B

    oklch(77% 0.16 149.7)

  • #5ABFFF

    #5ABFFF

    oklch(77.1% 0.131 239.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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