#EC7FE0

Closest named color: Violet (#EE82EE). oklch(74.9% 0.177 331.4), rgb(236, 127, 224).

Aa

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

About this color

#EC7FE0 is a medium-light, vivid purple. In OKLCH its lightness is 75%, its chroma 0.177 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.020 away. Black text reads best on it, at 8.67:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.177)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.67:1
White text2.41:1

Values

HEX#EC7FE0
RGBrgb(236, 127, 224)
HSLhsl(307, 74%, 71%)
OKLCHoklch(74.9% 0.177 331.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 #EC7FE0 2.41:1 Fails Lc -52.2 Large or bold text, headings
Black text on #EC7FE0 8.67:1 AAA Lc 56.7 Large or bold text, headings
#EC7FE0 text on white 2.41:1 Fails Lc 47.2 Large or bold text, headings
#EC7FE0 text on black 8.67:1 AAA Lc -54.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 400.

  1. Step 50

    50

    #FCF2FA

    oklch(97.1% 0.015 332.2)

  2. Step 100

    100

    #F7E2F4

    oklch(93.5% 0.033 330.4)

  3. Step 200

    200

    #F2CBEC

    oklch(88.5% 0.061 331.3)

  4. Step 300

    300

    #EBA6E1

    oklch(80.9% 0.111 331.7)

  5. Step 400

    400 (this color)

    #EC7FE0

    oklch(74.9% 0.177 331.4)

  6. Step 500

    500

    #D143C6

    oklch(63% 0.227 331.2)

  7. Step 600

    600

    #BD0DB2

    oklch(55.6% 0.246 331.6)

  8. Step 700

    700

    #A10098

    oklch(49.2% 0.223 331.4)

  9. Step 800

    800

    #84057C

    oklch(42.7% 0.19 331.6)

  10. Step 900

    900

    #6A1664

    oklch(37.7% 0.147 331.3)

  11. Step 950

    950

    #3F103B

    oklch(27.2% 0.094 331.4)

Export this scale for Tailwind in the Tailwind colors tool

#EC7FE0 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)#7B9DE30.176
Deuteranopia (no green cones)#99ACDD0.159
Tritanopia (no blue cones)#F487A50.095
Achromatopsia (no color)#A7A7A70.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC7FE0

    #EC7FE0

    oklch(74.9% 0.177 331.4)

  • #3CCC71

    #3CCC71

    oklch(74.9% 0.177 151.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC7FE0

    #EC7FE0

    oklch(74.9% 0.177 331.4)

  • #BF94FF

    #BF94FF

    oklch(74.9% 0.155 301.3)

  • #FF7DA7

    #FF7DA7

    oklch(75% 0.163 1.4)

Open the analogous palette in the generator

Split complementary

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

  • #EC7FE0

    #EC7FE0

    oklch(74.9% 0.177 331.4)

  • #9DBE10

    #9DBE10

    oklch(75% 0.178 121.5)

  • #00C9B3

    #00C9B3

    oklch(75% 0.135 181.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC7FE0

    #EC7FE0

    oklch(74.9% 0.177 331.4)

  • #D1A900

    #D1A900

    oklch(74.9% 0.153 91.7)

  • #00C3DD

    #00C3DD

    oklch(75% 0.13 211.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC7FE0

    #EC7FE0

    oklch(74.9% 0.177 331.4)

  • #FA8F00

    #FA8F00

    oklch(74.9% 0.174 61.1)

  • #3CCC71

    #3CCC71

    oklch(74.9% 0.177 151.3)

  • #4BB8FF

    #4BB8FF

    oklch(75% 0.142 241.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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