#E7A2FD

Closest named color: Lilac (#CEA2FD). oklch(81% 0.144 317.8), rgb(231, 162, 253).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (81%)
Chromavivid (0.144)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.98:1
White text1.91:1

Values

HEX#E7A2FD
RGBrgb(231, 162, 253)
HSLhsl(285, 96%, 81%)
OKLCHoklch(81% 0.144 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 #E7A2FD 1.91:1 Fails Lc -40.6 Non-text elements, placeholder text
Black text on #E7A2FD 10.98:1 AAA Lc 67.6 Content text, not long reading
#E7A2FD text on white 1.91:1 Fails Lc 36.3 Non-text elements, placeholder text
#E7A2FD text on black 10.98:1 AAA Lc -66.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

    #F6E2FC

    oklch(93.7% 0.041 318.4)

  3. Step 200

    200

    #F0C9FC

    oklch(88.5% 0.08 318.2)

  4. Step 300

    300 (this color)

    #E7A2FD

    oklch(81% 0.144 317.8)

  5. Step 400

    400

    #D966FB

    oklch(70.7% 0.23 317.8)

  6. Step 500

    500

    #CD1DF8

    oklch(63.1% 0.294 317.8)

  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

    #3D064C

    oklch(27.1% 0.122 317.4)

Export this scale for Tailwind in the Tailwind colors tool

#E7A2FD 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)#95B7FF0.121
Deuteranopia (no green cones)#A6BEFA0.111
Tritanopia (no blue cones)#E7ADC40.094
Achromatopsia (no color)#BBBBBB0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7A2FD

    #E7A2FD

    oklch(81% 0.144 317.8)

  • #92D678

    #92D678

    oklch(80.9% 0.143 137.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7A2FD

    #E7A2FD

    oklch(81% 0.144 317.8)

  • #BDB7FF

    #BDB7FF

    oklch(81% 0.101 287.7)

  • #FF9DD0

    #FF9DD0

    oklch(81% 0.131 347.9)

Open the analogous palette in the generator

Split complementary

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

  • #E7A2FD

    #E7A2FD

    oklch(81% 0.144 317.8)

  • #CAC74B

    #CAC74B

    oklch(80.9% 0.144 107.9)

  • #47DEAE

    #47DEAE

    oklch(80.9% 0.144 167.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7A2FD

    #E7A2FD

    oklch(81% 0.144 317.8)

  • #F4B444

    #F4B444

    oklch(81% 0.144 77.7)

  • #00DBE0

    #00DBE0

    oklch(80.9% 0.138 197.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7A2FD

    #E7A2FD

    oklch(81% 0.144 317.8)

  • #FFA97D

    #FFA97D

    oklch(81% 0.117 47.7)

  • #92D678

    #92D678

    oklch(80.9% 0.143 137.5)

  • #5BD0FF

    #5BD0FF

    oklch(80.9% 0.124 227.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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