#E797F6

Closest named color: Lilac (#CEA2FD). oklch(78.9% 0.155 321.1), rgb(231, 151, 246).

Aa

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

About this color

#E797F6 is a light, vivid purple. In OKLCH its lightness is 79%, its chroma 0.155 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.15:1.

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

Values

HEX#E797F6
RGBrgb(231, 151, 246)
HSLhsl(291, 84%, 78%)
OKLCHoklch(78.9% 0.155 321.1)

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 #E797F6 2.06:1 Fails Lc -44.7 Non-text elements, placeholder text
Black text on #E797F6 10.15:1 AAA Lc 63.8 Content text, not long reading
#E797F6 text on white 2.06:1 Fails Lc 40.2 Non-text elements, placeholder text
#E797F6 text on black 10.15:1 AAA Lc -62.2 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)

    #E797F6

    oklch(78.9% 0.155 321.1)

  5. Step 400

    400

    #E35CFB

    oklch(70.8% 0.247 321.3)

  6. Step 500

    500

    #D400F3

    oklch(63% 0.301 321)

  7. Step 600

    600

    #B300CD

    oklch(55.5% 0.265 321.1)

  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

#E797F6 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)#8BAFF90.137
Deuteranopia (no green cones)#A0B7F30.124
Tritanopia (no blue cones)#E9A2BB0.097
Achromatopsia (no color)#B4B4B40.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #E797F6

    #E797F6

    oklch(78.9% 0.155 321.1)

  • #7FD272

    #7FD272

    oklch(78.8% 0.154 141.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E797F6

    #E797F6

    oklch(78.9% 0.155 321.1)

  • #BAADFF

    #BAADFF

    oklch(78.9% 0.116 290.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°).

  • #E797F6

    #E797F6

    oklch(78.9% 0.155 321.1)

  • #BFC338

    #BFC338

    oklch(79% 0.155 111.1)

  • #00D9AD

    #00D9AD

    oklch(78.8% 0.154 171.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E797F6

    #E797F6

    oklch(78.9% 0.155 321.1)

  • #ECAE23

    #ECAE23

    oklch(78.8% 0.155 81.2)

  • #00D3DE

    #00D3DE

    oklch(78.9% 0.134 201.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E797F6

    #E797F6

    oklch(78.9% 0.155 321.1)

  • #FF9F65

    #FF9F65

    oklch(78.9% 0.136 50.8)

  • #7FD272

    #7FD272

    oklch(78.8% 0.154 141.1)

  • #4EC9FF

    #4EC9FF

    oklch(78.9% 0.132 230.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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