#E797FD

Closest named color: Lilac (#CEA2FD). oklch(79.2% 0.162 318.8), rgb(231, 151, 253).

Aa

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

About this color

#E797FD is a light, vivid purple. In OKLCH its lightness is 79%, its chroma 0.162 and its hue 319°. 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.24:1.

Hue familyPurples
Lightnesslight (79%)
Chromavivid (0.162)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.24:1
White text2.05:1

Values

HEX#E797FD
RGBrgb(231, 151, 253)
HSLhsl(287, 96%, 79%)
OKLCHoklch(79.2% 0.162 318.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 #E797FD 2.05:1 Fails Lc -44.3 Non-text elements, placeholder text
Black text on #E797FD 10.24:1 AAA Lc 64.2 Content text, not long reading
#E797FD text on white 2.05:1 Fails Lc 39.7 Non-text elements, placeholder text
#E797FD text on black 10.24:1 AAA Lc -62.6 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

    #F8E1FE

    oklch(93.7% 0.046 319.2)

  3. Step 200

    200

    #F3C7FF

    oklch(88.5% 0.089 318.9)

  4. Step 300

    300 (this color)

    #E797FD

    oklch(79.2% 0.162 318.8)

  5. Step 400

    400

    #DE5FFF

    oklch(70.7% 0.245 318.8)

  6. Step 500

    500

    #D100FA

    oklch(63.1% 0.305 318.7)

  7. Step 600

    600

    #B000D3

    oklch(55.5% 0.268 318.7)

  8. Step 700

    700

    #9500B3

    oklch(49.1% 0.237 318.7)

  9. Step 800

    800

    #7B0094

    oklch(42.7% 0.206 318.8)

  10. Step 900

    900

    #67007D

    oklch(37.7% 0.182 318.5)

  11. Step 950

    950

    #3F004D

    oklch(26.9% 0.13 318.8)

Export this scale for Tailwind in the Tailwind colors tool

#E797FD 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)#88B0FF0.141
Deuteranopia (no green cones)#9DB8FA0.128
Tritanopia (no blue cones)#E8A4BE0.105
Achromatopsia (no color)#B5B5B50.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #E797FD

    #E797FD

    oklch(79.2% 0.162 318.8)

  • #82D369

    #82D369

    oklch(79.1% 0.162 138.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E797FD

    #E797FD

    oklch(79.2% 0.162 318.8)

  • #B8AFFF

    #B8AFFF

    oklch(79.1% 0.113 288.7)

  • #FF92CA

    #FF92CA

    oklch(79.1% 0.146 348.8)

Open the analogous palette in the generator

Split complementary

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

  • #E797FD

    #E797FD

    oklch(79.2% 0.162 318.8)

  • #C4C226

    #C4C226

    oklch(79.1% 0.162 108.8)

  • #00DBA9

    #00DBA9

    oklch(79.2% 0.159 168.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E797FD

    #E797FD

    oklch(79.2% 0.162 318.8)

  • #F2AC10

    #F2AC10

    oklch(79.1% 0.162 78.7)

  • #00D5DB

    #00D5DB

    oklch(79.3% 0.135 198.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E797FD

    #E797FD

    oklch(79.2% 0.162 318.8)

  • #FFA06C

    #FFA06C

    oklch(79.2% 0.132 48.8)

  • #82D369

    #82D369

    oklch(79.1% 0.162 138.7)

  • #47CBFF

    #47CBFF

    oklch(79.2% 0.134 228.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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