#E797FF

Closest named color: Lilac (#CEA2FD). oklch(79.3% 0.164 318.1), rgb(231, 151, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromavivid (0.164)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.26:1
White text2.04:1

Values

HEX#E797FF
RGBrgb(231, 151, 255)
HSLhsl(286, 100%, 80%)
OKLCHoklch(79.3% 0.164 318.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 #E797FF 2.04:1 Fails Lc -44.1 Non-text elements, placeholder text
Black text on #E797FF 10.26:1 AAA Lc 64.3 Content text, not long reading
#E797FF text on white 2.04:1 Fails Lc 39.6 Non-text elements, placeholder text
#E797FF text on black 10.26:1 AAA Lc -62.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

    #FCF1FF

    oklch(97.1% 0.022 319)

  2. Step 100

    100

    #F8E0FF

    oklch(93.5% 0.049 318.5)

  3. Step 200

    200

    #F2C7FF

    oklch(88.4% 0.088 318.3)

  4. Step 300

    300 (this color)

    #E797FF

    oklch(79.3% 0.164 318.1)

  5. Step 400

    400

    #DC61FF

    oklch(70.7% 0.241 318.1)

  6. Step 500

    500

    #D000FC

    oklch(63.1% 0.306 318)

  7. Step 600

    600

    #B000D5

    oklch(55.7% 0.27 318.2)

  8. Step 700

    700

    #9400B4

    oklch(49% 0.238 318.1)

  9. Step 800

    800

    #7A0095

    oklch(42.6% 0.207 318)

  10. Step 900

    900

    #67007E

    oklch(37.8% 0.183 318.1)

  11. Step 950

    950

    #3F004E

    oklch(27% 0.131 318.2)

Export this scale for Tailwind in the Tailwind colors tool

#E797FF 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)#87B0FF0.142
Deuteranopia (no green cones)#9CB8FC0.128
Tritanopia (no blue cones)#E7A4BF0.106
Achromatopsia (no color)#B5B5B50.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #E797FF

    #E797FF

    oklch(79.3% 0.164 318.1)

  • #83D467

    #83D467

    oklch(79.3% 0.165 138.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E797FF

    #E797FF

    oklch(79.3% 0.164 318.1)

  • #B8B0FF

    #B8B0FF

    oklch(79.3% 0.111 288.2)

  • #FF93CC

    #FF93CC

    oklch(79.4% 0.145 348)

Open the analogous palette in the generator

Split complementary

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

  • #E797FF

    #E797FF

    oklch(79.3% 0.164 318.1)

  • #C6C220

    #C6C220

    oklch(79.2% 0.164 108.1)

  • #00DBA8

    #00DBA8

    oklch(79.2% 0.16 168.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E797FF

    #E797FF

    oklch(79.3% 0.164 318.1)

  • #F4AC06

    #F4AC06

    oklch(79.3% 0.164 78.3)

  • #00D5DB

    #00D5DB

    oklch(79.3% 0.135 198.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E797FF

    #E797FF

    oklch(79.3% 0.164 318.1)

  • #FFA16E

    #FFA16E

    oklch(79.4% 0.13 48.6)

  • #83D467

    #83D467

    oklch(79.3% 0.165 138.2)

  • #45CBFF

    #45CBFF

    oklch(79.2% 0.135 228.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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