#EC8FE2

Closest named color: Violet (#EE82EE). oklch(77.4% 0.153 330.9), rgb(236, 143, 226).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (77%)
Chromavivid (0.153)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text9.59:1
White text2.18:1

Values

HEX#EC8FE2
RGBrgb(236, 143, 226)
HSLhsl(306, 71%, 74%)
OKLCHoklch(77.4% 0.153 330.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 #EC8FE2 2.18:1 Fails Lc -47.5 Large or bold text, headings
Black text on #EC8FE2 9.59:1 AAA Lc 61.1 Content text, not long reading
#EC8FE2 text on white 2.18:1 Fails Lc 42.8 Non-text elements, placeholder text
#EC8FE2 text on black 9.59:1 AAA Lc -59.4 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

    #FAC5F3

    oklch(88.4% 0.085 330.8)

  4. Step 300

    300 (this color)

    #EC8FE2

    oklch(77.4% 0.153 330.9)

  5. Step 400

    400

    #F056E5

    oklch(70.7% 0.244 330.8)

  6. Step 500

    500

    #E000D6

    oklch(63% 0.286 330.8)

  7. Step 600

    600

    #BE00B5

    oklch(55.7% 0.253 331)

  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

#EC8FE2 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)#8CA7E50.148
Deuteranopia (no green cones)#A4B4DF0.135
Tritanopia (no blue cones)#F395AE0.082
Achromatopsia (no color)#AFAFAF0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC8FE2

    #EC8FE2

    oklch(77.4% 0.153 330.9)

  • #61D081

    #61D081

    oklch(77.3% 0.152 150.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC8FE2

    #EC8FE2

    oklch(77.4% 0.153 330.9)

  • #C4A0FF

    #C4A0FF

    oklch(77.4% 0.137 300.7)

  • #FF8CB0

    #FF8CB0

    oklch(77.4% 0.144 1)

Open the analogous palette in the generator

Split complementary

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

  • #EC8FE2

    #EC8FE2

    oklch(77.4% 0.153 330.9)

  • #A8C347

    #A8C347

    oklch(77.3% 0.152 120.6)

  • #00D2BA

    #00D2BA

    oklch(77.4% 0.14 180.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC8FE2

    #EC8FE2

    oklch(77.4% 0.153 330.9)

  • #DAB01C

    #DAB01C

    oklch(77.3% 0.152 90.7)

  • #00CCE5

    #00CCE5

    oklch(77.5% 0.134 210.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC8FE2

    #EC8FE2

    oklch(77.4% 0.153 330.9)

  • #FA9C40

    #FA9C40

    oklch(77.4% 0.152 61.1)

  • #61D081

    #61D081

    oklch(77.3% 0.152 150.8)

  • #61BFFF

    #61BFFF

    oklch(77.3% 0.128 240.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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