#E7A5FC

Closest named color: Lilac (#CEA2FD). oklch(81.4% 0.138 317.8), rgb(231, 165, 252).

Aa

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

About this color

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

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

Values

HEX#E7A5FC
RGBrgb(231, 165, 252)
HSLhsl(286, 94%, 82%)
OKLCHoklch(81.4% 0.138 317.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 #E7A5FC 1.87:1 Fails Lc -39.6 Non-text elements, placeholder text
Black text on #E7A5FC 11.18:1 AAA Lc 68.5 Content text, not long reading
#E7A5FC text on white 1.87:1 Fails Lc 35.4 Non-text elements, placeholder text
#E7A5FC text on black 11.18:1 AAA Lc -67.1 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

    #EFCAFB

    oklch(88.6% 0.077 317.8)

  4. Step 300

    300 (this color)

    #E7A5FC

    oklch(81.4% 0.138 317.8)

  5. Step 400

    400

    #D76AF8

    oklch(70.8% 0.22 317.7)

  6. Step 500

    500

    #CB2BF4

    oklch(63.2% 0.282 317.9)

  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

    #3C094A

    oklch(27% 0.116 317.6)

Export this scale for Tailwind in the Tailwind colors tool

#E7A5FC 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)#99B9FF0.115
Deuteranopia (no green cones)#A9BFF90.105
Tritanopia (no blue cones)#E7AFC50.090
Achromatopsia (no color)#BDBDBD0.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7A5FC

    #E7A5FC

    oklch(81.4% 0.138 317.8)

  • #95D77E

    #95D77E

    oklch(81.4% 0.137 138)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7A5FC

    #E7A5FC

    oklch(81.4% 0.138 317.8)

  • #BEB8FF

    #BEB8FF

    oklch(81.3% 0.099 287.8)

  • #FF9FD1

    #FF9FD1

    oklch(81.4% 0.128 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #E7A5FC

    #E7A5FC

    oklch(81.4% 0.138 317.8)

  • #CBC854

    #CBC854

    oklch(81.3% 0.138 107.7)

  • #53DEB1

    #53DEB1

    oklch(81.3% 0.137 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7A5FC

    #E7A5FC

    oklch(81.4% 0.138 317.8)

  • #F3B64E

    #F3B64E

    oklch(81.4% 0.138 77.8)

  • #0BDDE2

    #0BDDE2

    oklch(81.5% 0.138 197.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7A5FC

    #E7A5FC

    oklch(81.4% 0.138 317.8)

  • #FFAB80

    #FFAB80

    oklch(81.4% 0.115 47.7)

  • #95D77E

    #95D77E

    oklch(81.4% 0.137 138)

  • #61D1FF

    #61D1FF

    oklch(81.3% 0.12 228)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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