#EC8EE3

Closest named color: Violet (#EE82EE). oklch(77.2% 0.155 330.5), rgb(236, 142, 227).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (77%)
Chromavivid (0.155)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text9.54:1
White text2.20:1

Values

HEX#EC8EE3
RGBrgb(236, 142, 227)
HSLhsl(306, 71%, 74%)
OKLCHoklch(77.2% 0.155 330.5)

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 #EC8EE3 2.20:1 Fails Lc -47.8 Large or bold text, headings
Black text on #EC8EE3 9.54:1 AAA Lc 60.9 Content text, not long reading
#EC8EE3 text on white 2.20:1 Fails Lc 43.0 Non-text elements, placeholder text
#EC8EE3 text on black 9.54:1 AAA Lc -59.1 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

    #FCE0F8

    oklch(93.7% 0.044 330.6)

  3. Step 200

    200

    #FBC5F4

    oklch(88.5% 0.086 330.7)

  4. Step 300

    300 (this color)

    #EC8EE3

    oklch(77.2% 0.155 330.5)

  5. Step 400

    400

    #F154E7

    oklch(70.8% 0.248 330.5)

  6. Step 500

    500

    #E000D7

    oklch(63.1% 0.287 330.6)

  7. Step 600

    600

    #BD00B6

    oklch(55.6% 0.253 330.4)

  8. Step 700

    700

    #A0009A

    oklch(49.1% 0.224 330.4)

  9. Step 800

    800

    #84007F

    oklch(42.7% 0.194 330.4)

  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

#EC8EE3 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)#8AA7E60.151
Deuteranopia (no green cones)#A3B3E00.136
Tritanopia (no blue cones)#F395AE0.085
Achromatopsia (no color)#AFAFAF0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC8EE3

    #EC8EE3

    oklch(77.2% 0.155 330.5)

  • #5FD07F

    #5FD07F

    oklch(77.2% 0.155 150.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC8EE3

    #EC8EE3

    oklch(77.2% 0.155 330.5)

  • #C3A0FF

    #C3A0FF

    oklch(77.3% 0.137 300.2)

  • #FF8BB0

    #FF8BB0

    oklch(77.3% 0.145 0.7)

Open the analogous palette in the generator

Split complementary

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

  • #EC8EE3

    #EC8EE3

    oklch(77.2% 0.155 330.5)

  • #A8C343

    #A8C343

    oklch(77.2% 0.155 120.4)

  • #00D1B9

    #00D1B9

    oklch(77.1% 0.139 180.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC8EE3

    #EC8EE3

    oklch(77.2% 0.155 330.5)

  • #DBAF11

    #DBAF11

    oklch(77.2% 0.155 90.1)

  • #00CBE4

    #00CBE4

    oklch(77.2% 0.134 210.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC8EE3

    #EC8EE3

    oklch(77.2% 0.155 330.5)

  • #FB9B3D

    #FB9B3D

    oklch(77.3% 0.155 60.8)

  • #5FD07F

    #5FD07F

    oklch(77.2% 0.155 150.5)

  • #5FBFFF

    #5FBFFF

    oklch(77.2% 0.129 240.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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