#ED97FE

Closest named color: Violet (#EE82EE). oklch(79.9% 0.166 320.8), rgb(237, 151, 254).

Aa

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

About this color

#ED97FE is a light, vivid purple. In OKLCH its lightness is 80%, its chroma 0.166 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.046 away. Black text reads best on it, at 10.45:1.

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

Values

HEX#ED97FE
RGBrgb(237, 151, 254)
HSLhsl(290, 98%, 79%)
OKLCHoklch(79.9% 0.166 320.8)

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 #ED97FE 2.00:1 Fails Lc -43.1 Non-text elements, placeholder text
Black text on #ED97FE 10.45:1 AAA Lc 65.2 Content text, not long reading
#ED97FE text on white 2.00:1 Fails Lc 38.7 Non-text elements, placeholder text
#ED97FE text on black 10.45:1 AAA Lc -63.7 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

    #FDF1FF

    oklch(97.2% 0.022 321.3)

  2. Step 100

    100

    #F9E0FE

    oklch(93.6% 0.048 320.6)

  3. Step 200

    200

    #F6C6FF

    oklch(88.6% 0.092 321)

  4. Step 300

    300 (this color)

    #ED97FE

    oklch(79.9% 0.166 320.8)

  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

    #9700AE

    oklch(49% 0.234 320.9)

  9. Step 800

    800

    #7D0090

    oklch(42.7% 0.204 321)

  10. Step 900

    900

    #690079

    oklch(37.7% 0.18 321.1)

  11. Step 950

    950

    #40004B

    oklch(26.9% 0.129 320.8)

Export this scale for Tailwind in the Tailwind colors tool

#ED97FE 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)#89B1FF0.149
Deuteranopia (no green cones)#A0BAFB0.134
Tritanopia (no blue cones)#EFA3BF0.103
Achromatopsia (no color)#B7B7B70.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #ED97FE

    #ED97FE

    oklch(79.9% 0.166 320.8)

  • #7DD76D

    #7DD76D

    oklch(79.9% 0.167 140.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ED97FE

    #ED97FE

    oklch(79.9% 0.166 320.8)

  • #BDB1FF

    #BDB1FF

    oklch(79.9% 0.11 290.7)

  • #FF97C8

    #FF97C8

    oklch(79.8% 0.137 350.9)

Open the analogous palette in the generator

Split complementary

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

  • #ED97FE

    #ED97FE

    oklch(79.9% 0.166 320.8)

  • #C3C626

    #C3C626

    oklch(79.9% 0.166 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.

  • #ED97FE

    #ED97FE

    oklch(79.9% 0.166 320.8)

  • #F3B000

    #F3B000

    oklch(79.9% 0.165 81)

  • #00D7E1

    #00D7E1

    oklch(80% 0.136 200.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ED97FE

    #ED97FE

    oklch(79.9% 0.166 320.8)

  • #FFA46E

    #FFA46E

    oklch(79.9% 0.129 50.7)

  • #7DD76D

    #7DD76D

    oklch(79.9% 0.167 140.7)

  • #5ACCFF

    #5ACCFF

    oklch(80% 0.125 230.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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