#E797F8

Closest named color: Lilac (#CEA2FD). oklch(79% 0.157 320.4), rgb(231, 151, 248).

Aa

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

About this color

#E797F8 is a light, vivid purple. In OKLCH its lightness is 79%, its chroma 0.157 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.044 away. Black text reads best on it, at 10.17:1.

Hue familyPurples
Lightnesslight (79%)
Chromavivid (0.157)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.17:1
White text2.06:1

Values

HEX#E797F8
RGBrgb(231, 151, 248)
HSLhsl(289, 87%, 78%)
OKLCHoklch(79% 0.157 320.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 #E797F8 2.06:1 Fails Lc -44.6 Non-text elements, placeholder text
Black text on #E797F8 10.17:1 AAA Lc 63.9 Content text, not long reading
#E797F8 text on white 2.06:1 Fails Lc 40.0 Non-text elements, placeholder text
#E797F8 text on black 10.17:1 AAA Lc -62.3 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

    #FCF1FE

    oklch(97% 0.021 321)

  2. Step 100

    100

    #F8E1FD

    oklch(93.7% 0.045 320.2)

  3. Step 200

    200

    #F4C7FD

    oklch(88.6% 0.087 320.7)

  4. Step 300

    300 (this color)

    #E797F8

    oklch(79% 0.157 320.4)

  5. Step 400

    400

    #E25BFE

    oklch(70.7% 0.251 320.3)

  6. Step 500

    500

    #D300F5

    oklch(63% 0.302 320.3)

  7. Step 600

    600

    #B200CF

    oklch(55.5% 0.266 320.3)

  8. Step 700

    700

    #9700AF

    oklch(49.1% 0.235 320.6)

  9. Step 800

    800

    #7C0091

    oklch(42.6% 0.204 320.3)

  10. Step 900

    900

    #68007A

    oklch(37.6% 0.18 320.2)

  11. Step 950

    950

    #40004C

    oklch(27% 0.13 320.2)

Export this scale for Tailwind in the Tailwind colors tool

#E797F8 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)#8AAFFC0.138
Deuteranopia (no green cones)#9FB8F50.126
Tritanopia (no blue cones)#E9A3BC0.100
Achromatopsia (no color)#B4B4B40.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #E797F8

    #E797F8

    oklch(79% 0.157 320.4)

  • #80D36F

    #80D36F

    oklch(79.1% 0.158 140.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E797F8

    #E797F8

    oklch(79% 0.157 320.4)

  • #BAAEFF

    #BAAEFF

    oklch(79.1% 0.114 290.3)

  • #FF92C7

    #FF92C7

    oklch(79% 0.144 350.4)

Open the analogous palette in the generator

Split complementary

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

  • #E797F8

    #E797F8

    oklch(79% 0.157 320.4)

  • #C0C333

    #C0C333

    oklch(79% 0.158 110.7)

  • #00DAAC

    #00DAAC

    oklch(79% 0.156 170.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E797F8

    #E797F8

    oklch(79% 0.157 320.4)

  • #EEAE1F

    #EEAE1F

    oklch(79.1% 0.157 80.7)

  • #00D4DD

    #00D4DD

    oklch(79.1% 0.134 200.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E797F8

    #E797F8

    oklch(79% 0.157 320.4)

  • #FF9F67

    #FF9F67

    oklch(78.9% 0.135 50.1)

  • #80D36F

    #80D36F

    oklch(79.1% 0.158 140.3)

  • #4CC9FF

    #4CC9FF

    oklch(78.9% 0.133 230.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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