#E797F5

Closest named color: Lilac (#CEA2FD). oklch(78.8% 0.154 321.4), rgb(231, 151, 245).

Aa

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

About this color

#E797F5 is a light, vivid purple. In OKLCH its lightness is 79%, its chroma 0.154 and its hue 321°. 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.14:1.

Hue familyPurples
Lightnesslight (79%)
Chromavivid (0.154)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.14:1
White text2.07:1

Values

HEX#E797F5
RGBrgb(231, 151, 245)
HSLhsl(291, 82%, 78%)
OKLCHoklch(78.8% 0.154 321.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 #E797F5 2.07:1 Fails Lc -44.8 Non-text elements, placeholder text
Black text on #E797F5 10.14:1 AAA Lc 63.7 Content text, not long reading
#E797F5 text on white 2.07:1 Fails Lc 40.2 Non-text elements, placeholder text
#E797F5 text on black 10.14:1 AAA Lc -62.1 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

    #F8E1FC

    oklch(93.6% 0.043 321.2)

  3. Step 200

    200

    #F4C7FC

    oklch(88.5% 0.086 321.2)

  4. Step 300

    300 (this color)

    #E797F5

    oklch(78.8% 0.154 321.4)

  5. Step 400

    400

    #E35CFA

    oklch(70.7% 0.246 321.6)

  6. Step 500

    500

    #D500F2

    oklch(63.1% 0.301 321.5)

  7. Step 600

    600

    #B400CD

    oklch(55.7% 0.265 321.4)

  8. Step 700

    700

    #9800AD

    oklch(49.1% 0.234 321.5)

  9. Step 800

    800

    #7D008F

    oklch(42.7% 0.203 321.4)

  10. Step 900

    900

    #690078

    oklch(37.6% 0.179 321.6)

  11. Step 950

    950

    #41004B

    oklch(27.1% 0.129 321.5)

Export this scale for Tailwind in the Tailwind colors tool

#E797F5 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)#8CAEF80.136
Deuteranopia (no green cones)#A0B7F20.124
Tritanopia (no blue cones)#E9A2BB0.096
Achromatopsia (no color)#B4B4B40.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #E797F5

    #E797F5

    oklch(78.8% 0.154 321.4)

  • #7ED273

    #7ED273

    oklch(78.8% 0.153 141.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E797F5

    #E797F5

    oklch(78.8% 0.154 321.4)

  • #BBACFF

    #BBACFF

    oklch(78.8% 0.117 291.8)

  • #FF91C5

    #FF91C5

    oklch(78.8% 0.145 351.2)

Open the analogous palette in the generator

Split complementary

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

  • #E797F5

    #E797F5

    oklch(78.8% 0.154 321.4)

  • #BEC33A

    #BEC33A

    oklch(78.9% 0.154 111.5)

  • #00D9AE

    #00D9AE

    oklch(78.8% 0.153 171.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E797F5

    #E797F5

    oklch(78.8% 0.154 321.4)

  • #EBAE25

    #EBAE25

    oklch(78.7% 0.154 81.5)

  • #00D3DE

    #00D3DE

    oklch(78.9% 0.134 201.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E797F5

    #E797F5

    oklch(78.8% 0.154 321.4)

  • #FF9F63

    #FF9F63

    oklch(78.9% 0.137 51.6)

  • #7ED273

    #7ED273

    oklch(78.8% 0.153 141.5)

  • #4FC8FF

    #4FC8FF

    oklch(78.7% 0.132 231.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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