#EC8FEB

Closest named color: Violet (#EE82EE). oklch(77.7% 0.161 327.4), rgb(236, 143, 235).

Aa

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

About this color

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

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

Values

HEX#EC8FEB
RGBrgb(236, 143, 235)
HSLhsl(301, 71%, 74%)
OKLCHoklch(77.7% 0.161 327.4)

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 #EC8FEB 2.16:1 Fails Lc -47.0 Large or bold text, headings
Black text on #EC8FEB 9.69:1 AAA Lc 61.6 Content text, not long reading
#EC8FEB text on white 2.16:1 Fails Lc 42.3 Non-text elements, placeholder text
#EC8FEB text on black 9.69:1 AAA Lc -59.9 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

    #FCE0FA

    oklch(93.7% 0.046 328.2)

  3. Step 200

    200

    #FAC5F8

    oklch(88.6% 0.089 327.5)

  4. Step 300

    300 (this color)

    #EC8FEB

    oklch(77.7% 0.161 327.4)

  5. Step 400

    400

    #EF51F1

    oklch(70.7% 0.258 327.4)

  6. Step 500

    500

    #DC00E1

    oklch(63.1% 0.292 327.2)

  7. Step 600

    600

    #BA00BE

    oklch(55.6% 0.257 327.2)

  8. Step 700

    700

    #9D00A0

    oklch(49% 0.226 327.4)

  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

    #430045

    oklch(27% 0.125 327)

Export this scale for Tailwind in the Tailwind colors tool

#EC8FEB 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)#88A9EE0.153
Deuteranopia (no green cones)#A1B4E80.137
Tritanopia (no blue cones)#F198B20.092
Achromatopsia (no color)#B0B0B00.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC8FEB

    #EC8FEB

    oklch(77.7% 0.161 327.4)

  • #66D278

    #66D278

    oklch(77.8% 0.161 147.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC8FEB

    #EC8FEB

    oklch(77.7% 0.161 327.4)

  • #C0A4FF

    #C0A4FF

    oklch(77.7% 0.13 297.5)

  • #FF8DB7

    #FF8DB7

    oklch(77.8% 0.145 357.5)

Open the analogous palette in the generator

Split complementary

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

  • #EC8FEB

    #EC8FEB

    oklch(77.7% 0.161 327.4)

  • #AFC336

    #AFC336

    oklch(77.7% 0.161 117.4)

  • #00D4B5

    #00D4B5

    oklch(77.8% 0.144 177.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC8FEB

    #EC8FEB

    oklch(77.7% 0.161 327.4)

  • #E2AE00

    #E2AE00

    oklch(77.7% 0.159 86.9)

  • #00CEE2

    #00CEE2

    oklch(77.8% 0.133 207.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC8FEB

    #EC8FEB

    oklch(77.7% 0.161 327.4)

  • #FF9A46

    #FF9A46

    oklch(77.7% 0.155 57.1)

  • #66D278

    #66D278

    oklch(77.8% 0.161 147.4)

  • #59C2FF

    #59C2FF

    oklch(77.7% 0.13 237.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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