#E7A5FE

Closest named color: Lilac (#CEA2FD). oklch(81.5% 0.14 317.1), rgb(231, 165, 254).

Aa

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

About this color

#E7A5FE is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.140 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.040 away. Black text reads best on it, at 11.21:1.

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.140)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text11.21:1
White text1.87:1

Values

HEX#E7A5FE
RGBrgb(231, 165, 254)
HSLhsl(284, 98%, 82%)
OKLCHoklch(81.5% 0.14 317.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 #E7A5FE 1.87:1 Fails Lc -39.5 Non-text elements, placeholder text
Black text on #E7A5FE 11.21:1 AAA Lc 68.6 Content text, not long reading
#E7A5FE text on white 1.87:1 Fails Lc 35.3 Non-text elements, placeholder text
#E7A5FE text on black 11.21:1 AAA Lc -67.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

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F5E2FC

    oklch(93.6% 0.04 317)

  3. Step 200

    200

    #EECAFC

    oklch(88.5% 0.078 316.5)

  4. Step 300

    300 (this color)

    #E7A5FE

    oklch(81.5% 0.14 317.1)

  5. Step 400

    400

    #D769FA

    oklch(70.8% 0.224 317.3)

  6. Step 500

    500

    #CA28F7

    oklch(63.1% 0.286 317)

  7. Step 600

    600

    #AE00D8

    oklch(55.6% 0.271 316.9)

  8. Step 700

    700

    #9300B6

    oklch(49% 0.239 317.1)

  9. Step 800

    800

    #790097

    oklch(42.6% 0.208 316.9)

  10. Step 900

    900

    #66007F

    oklch(37.7% 0.184 317.2)

  11. Step 950

    950

    #3C084B

    oklch(27% 0.118 317)

Export this scale for Tailwind in the Tailwind colors tool

#E7A5FE 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)#98B9FF0.116
Deuteranopia (no green cones)#A8BFFB0.106
Tritanopia (no blue cones)#E7B0C60.093
Achromatopsia (no color)#BDBDBD0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7A5FE

    #E7A5FE

    oklch(81.5% 0.14 317.1)

  • #96D77B

    #96D77B

    oklch(81.4% 0.14 137)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7A5FE

    #E7A5FE

    oklch(81.5% 0.14 317.1)

  • #BEB9FF

    #BEB9FF

    oklch(81.5% 0.098 287.3)

  • #FF9FD2

    #FF9FD2

    oklch(81.4% 0.129 347.2)

Open the analogous palette in the generator

Split complementary

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

  • #E7A5FE

    #E7A5FE

    oklch(81.5% 0.14 317.1)

  • #CDC851

    #CDC851

    oklch(81.4% 0.14 106.9)

  • #52DFB0

    #52DFB0

    oklch(81.5% 0.139 167.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7A5FE

    #E7A5FE

    oklch(81.5% 0.14 317.1)

  • #F5B64C

    #F5B64C

    oklch(81.6% 0.14 77.3)

  • #00DDE1

    #00DDE1

    oklch(81.4% 0.139 197.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7A5FE

    #E7A5FE

    oklch(81.5% 0.14 317.1)

  • #FFAC82

    #FFAC82

    oklch(81.6% 0.113 47.5)

  • #96D77B

    #96D77B

    oklch(81.4% 0.14 137)

  • #60D2FF

    #60D2FF

    oklch(81.5% 0.121 227.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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