#EC98FD

Closest named color: Violet (#EE82EE). oklch(79.9% 0.163 320.7), rgb(236, 152, 253).

Aa

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

About this color

#EC98FD is a light, vivid purple. In OKLCH its lightness is 80%, its chroma 0.163 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.048 away. Black text reads best on it, at 10.47:1.

Hue familyPurples
Lightnesslight (80%)
Chromavivid (0.163)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text10.47:1
White text2.00:1

Values

HEX#EC98FD
RGBrgb(236, 152, 253)
HSLhsl(290, 96%, 79%)
OKLCHoklch(79.9% 0.163 320.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 #EC98FD 2.00:1 Fails Lc -43.1 Non-text elements, placeholder text
Black text on #EC98FD 10.47:1 AAA Lc 65.3 Content text, not long reading
#EC98FD text on white 2.00:1 Fails Lc 38.6 Non-text elements, placeholder text
#EC98FD text on black 10.47:1 AAA Lc -63.8 Content text, not long reading

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

    #FCF1FF

    oklch(97.1% 0.022 319)

  2. Step 100

    100

    #F9E0FE

    oklch(93.6% 0.048 320.6)

  3. Step 200

    200

    #F5C6FE

    oklch(88.5% 0.091 320.9)

  4. Step 300

    300 (this color)

    #EC98FD

    oklch(79.9% 0.163 320.7)

  5. Step 400

    400

    #E458FF

    oklch(70.7% 0.256 320.8)

  6. Step 500

    500

    #D400F4

    oklch(63.1% 0.302 320.8)

  7. Step 600

    600

    #B300CE

    oklch(55.6% 0.266 320.9)

  8. Step 700

    700

    #9700AF

    oklch(49.1% 0.235 320.6)

  9. Step 800

    800

    #7D0090

    oklch(42.7% 0.204 321)

  10. Step 900

    900

    #69007A

    oklch(37.8% 0.181 320.7)

  11. Step 950

    950

    #40004B

    oklch(26.9% 0.129 320.8)

Export this scale for Tailwind in the Tailwind colors tool

#EC98FD 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)#8BB1FF0.144
Deuteranopia (no green cones)#A1BAFA0.130
Tritanopia (no blue cones)#EEA4BF0.102
Achromatopsia (no color)#B7B7B70.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC98FD

    #EC98FD

    oklch(79.9% 0.163 320.7)

  • #7FD76F

    #7FD76F

    oklch(80% 0.164 140.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC98FD

    #EC98FD

    oklch(79.9% 0.163 320.7)

  • #BDB1FF

    #BDB1FF

    oklch(79.9% 0.11 290.7)

  • #FF97C9

    #FF97C9

    oklch(79.9% 0.137 350.4)

Open the analogous palette in the generator

Split complementary

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

  • #EC98FD

    #EC98FD

    oklch(79.9% 0.163 320.7)

  • #C3C62C

    #C3C62C

    oklch(79.9% 0.163 110.8)

  • #00DDAF

    #00DDAF

    oklch(79.9% 0.157 170.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC98FD

    #EC98FD

    oklch(79.9% 0.163 320.7)

  • #F3B00E

    #F3B00E

    oklch(79.9% 0.163 80.6)

  • #00D7E1

    #00D7E1

    oklch(80% 0.136 200.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC98FD

    #EC98FD

    oklch(79.9% 0.163 320.7)

  • #FFA46E

    #FFA46E

    oklch(79.9% 0.129 50.7)

  • #7FD76F

    #7FD76F

    oklch(80% 0.164 140.6)

  • #59CCFF

    #59CCFF

    oklch(79.9% 0.126 230.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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