#E5A1FB

Closest named color: Lilac (#CEA2FD). oklch(80.5% 0.142 317.7), rgb(229, 161, 251).

Aa

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

About this color

#E5A1FB is a light, vivid purple. In OKLCH its lightness is 81%, its chroma 0.142 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.036 away. Black text reads best on it, at 10.82:1.

Hue familyPurples
Lightnesslight (81%)
Chromavivid (0.142)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.82:1
White text1.94:1

Values

HEX#E5A1FB
RGBrgb(229, 161, 251)
HSLhsl(285, 92%, 81%)
OKLCHoklch(80.5% 0.142 317.7)

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 #E5A1FB 1.94:1 Fails Lc -41.4 Non-text elements, placeholder text
Black text on #E5A1FB 10.82:1 AAA Lc 66.8 Content text, not long reading
#E5A1FB text on white 1.94:1 Fails Lc 37.1 Non-text elements, placeholder text
#E5A1FB text on black 10.82:1 AAA Lc -65.4 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

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F6E2FC

    oklch(93.7% 0.041 318.4)

  3. Step 200

    200

    #EFC9FC

    oklch(88.4% 0.08 317.4)

  4. Step 300

    300 (this color)

    #E5A1FB

    oklch(80.5% 0.142 317.7)

  5. Step 400

    400

    #D867FB

    oklch(70.7% 0.228 317.5)

  6. Step 500

    500

    #CC21F8

    oklch(63.1% 0.291 317.5)

  7. Step 600

    600

    #AF00D6

    oklch(55.6% 0.27 317.7)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0096

    oklch(42.7% 0.207 317.7)

  10. Step 900

    900

    #66007E

    oklch(37.6% 0.183 317.6)

  11. Step 950

    950

    #3D074B

    oklch(27.1% 0.119 317.9)

Export this scale for Tailwind in the Tailwind colors tool

#E5A1FB 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)#94B6FE0.119
Deuteranopia (no green cones)#A5BCF80.108
Tritanopia (no blue cones)#E5ACC30.093
Achromatopsia (no color)#BABABA0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #E5A1FB

    #E5A1FB

    oklch(80.5% 0.142 317.7)

  • #91D578

    #91D578

    oklch(80.6% 0.142 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E5A1FB

    #E5A1FB

    oklch(80.5% 0.142 317.7)

  • #BBB5FF

    #BBB5FF

    oklch(80.5% 0.104 287.5)

  • #FF9ACF

    #FF9ACF

    oklch(80.5% 0.136 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #E5A1FB

    #E5A1FB

    oklch(80.5% 0.142 317.7)

  • #C9C64B

    #C9C64B

    oklch(80.6% 0.143 107.9)

  • #48DCAD

    #48DCAD

    oklch(80.4% 0.142 167.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E5A1FB

    #E5A1FB

    oklch(80.5% 0.142 317.7)

  • #F2B245

    #F2B245

    oklch(80.5% 0.142 77.2)

  • #00DADF

    #00DADF

    oklch(80.6% 0.137 197.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E5A1FB

    #E5A1FB

    oklch(80.5% 0.142 317.7)

  • #FFA779

    #FFA779

    oklch(80.6% 0.121 48.1)

  • #91D578

    #91D578

    oklch(80.6% 0.142 137.7)

  • #55CFFF

    #55CFFF

    oklch(80.5% 0.127 227.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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