#E798F8

Closest named color: Lilac (#CEA2FD). oklch(79.1% 0.155 320.3), rgb(231, 152, 248).

Aa

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

About this color

#E798F8 is a light, vivid purple. In OKLCH its lightness is 79%, its chroma 0.155 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.043 away. Black text reads best on it, at 10.24:1.

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

Values

HEX#E798F8
RGBrgb(231, 152, 248)
HSLhsl(289, 87%, 78%)
OKLCHoklch(79.1% 0.155 320.3)

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 #E798F8 2.04:1 Fails Lc -44.3 Non-text elements, placeholder text
Black text on #E798F8 10.24:1 AAA Lc 64.2 Content text, not long reading
#E798F8 text on white 2.04:1 Fails Lc 39.7 Non-text elements, placeholder text
#E798F8 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

    #FCF1FE

    oklch(97% 0.021 321)

  2. Step 100

    100

    #F8E1FD

    oklch(93.7% 0.045 320.2)

  3. Step 200

    200

    #F3C7FD

    oklch(88.5% 0.087 320)

  4. Step 300

    300 (this color)

    #E798F8

    oklch(79.1% 0.155 320.3)

  5. Step 400

    400

    #E15CFD

    oklch(70.7% 0.248 320.2)

  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

#E798F8 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)#8BB0FC0.137
Deuteranopia (no green cones)#A0B8F50.124
Tritanopia (no blue cones)#E9A3BD0.097
Achromatopsia (no color)#B5B5B50.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #E798F8

    #E798F8

    oklch(79.1% 0.155 320.3)

  • #81D371

    #81D371

    oklch(79.1% 0.155 140.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E798F8

    #E798F8

    oklch(79.1% 0.155 320.3)

  • #BAAEFF

    #BAAEFF

    oklch(79.1% 0.114 290.3)

  • #FF93C7

    #FF93C7

    oklch(79.2% 0.142 350.6)

Open the analogous palette in the generator

Split complementary

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

  • #E798F8

    #E798F8

    oklch(79.1% 0.155 320.3)

  • #C1C337

    #C1C337

    oklch(79.1% 0.155 110.3)

  • #07DAAC

    #07DAAC

    oklch(79.1% 0.155 170.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E798F8

    #E798F8

    oklch(79.1% 0.155 320.3)

  • #EEAE25

    #EEAE25

    oklch(79.1% 0.155 80.2)

  • #00D4DD

    #00D4DD

    oklch(79.1% 0.134 200.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E798F8

    #E798F8

    oklch(79.1% 0.155 320.3)

  • #FFA068

    #FFA068

    oklch(79.1% 0.134 50.4)

  • #81D371

    #81D371

    oklch(79.1% 0.155 140.4)

  • #4ECAFF

    #4ECAFF

    oklch(79.2% 0.131 230.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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