#E7A5FA

Closest named color: Lilac (#CEA2FD). oklch(81.3% 0.135 318.5), rgb(231, 165, 250).

Aa

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

About this color

#E7A5FA is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.135 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.041 away. Black text reads best on it, at 11.16:1.

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text11.16:1
White text1.88:1

Values

HEX#E7A5FA
RGBrgb(231, 165, 250)
HSLhsl(287, 89%, 81%)
OKLCHoklch(81.3% 0.135 318.5)

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 #E7A5FA 1.88:1 Fails Lc -39.8 Non-text elements, placeholder text
Black text on #E7A5FA 11.16:1 AAA Lc 68.3 Content text, not long reading
#E7A5FA text on white 1.88:1 Fails Lc 35.5 Non-text elements, placeholder text
#E7A5FA text on black 11.16:1 AAA Lc -67.0 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

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F5E2FB

    oklch(93.5% 0.039 318.1)

  3. Step 200

    200

    #EFCAFA

    oklch(88.5% 0.076 318.4)

  4. Step 300

    300 (this color)

    #E7A5FA

    oklch(81.3% 0.135 318.5)

  5. Step 400

    400

    #D76BF5

    oklch(70.7% 0.216 318.4)

  6. Step 500

    500

    #CB2EF1

    oklch(63.1% 0.277 318.5)

  7. Step 600

    600

    #B000D4

    oklch(55.6% 0.269 318.5)

  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

    #67027C

    oklch(37.7% 0.18 318.9)

  11. Step 950

    950

    #3C0A49

    oklch(27% 0.114 318.1)

Export this scale for Tailwind in the Tailwind colors tool

#E7A5FA 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)#9AB8FD0.113
Deuteranopia (no green cones)#AABFF70.104
Tritanopia (no blue cones)#E8AFC40.089
Achromatopsia (no color)#BDBDBD0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7A5FA

    #E7A5FA

    oklch(81.3% 0.135 318.5)

  • #94D780

    #94D780

    oklch(81.4% 0.136 138.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7A5FA

    #E7A5FA

    oklch(81.3% 0.135 318.5)

  • #BFB8FF

    #BFB8FF

    oklch(81.4% 0.099 288.5)

  • #FF9FD0

    #FF9FD0

    oklch(81.3% 0.128 348.4)

Open the analogous palette in the generator

Split complementary

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

  • #E7A5FA

    #E7A5FA

    oklch(81.3% 0.135 318.5)

  • #CAC957

    #CAC957

    oklch(81.4% 0.136 108.6)

  • #54DEB2

    #54DEB2

    oklch(81.4% 0.136 168.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7A5FA

    #E7A5FA

    oklch(81.3% 0.135 318.5)

  • #F1B750

    #F1B750

    oklch(81.4% 0.136 79)

  • #1ADCE2

    #1ADCE2

    oklch(81.3% 0.135 198.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7A5FA

    #E7A5FA

    oklch(81.3% 0.135 318.5)

  • #FFAB7E

    #FFAB7E

    oklch(81.3% 0.116 48.7)

  • #94D780

    #94D780

    oklch(81.4% 0.136 138.7)

  • #63D1FF

    #63D1FF

    oklch(81.4% 0.119 228.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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