#E7A2FC

Closest named color: Lilac (#CEA2FD). oklch(80.9% 0.143 318.1), rgb(231, 162, 252).

Aa

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

About this color

#E7A2FC is a light, vivid purple. In OKLCH its lightness is 81%, its chroma 0.143 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.97:1.

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

Values

HEX#E7A2FC
RGBrgb(231, 162, 252)
HSLhsl(286, 94%, 81%)
OKLCHoklch(80.9% 0.143 318.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 #E7A2FC 1.91:1 Fails Lc -40.7 Non-text elements, placeholder text
Black text on #E7A2FC 10.97:1 AAA Lc 67.5 Content text, not long reading
#E7A2FC text on white 1.91:1 Fails Lc 36.4 Non-text elements, placeholder text
#E7A2FC text on black 10.97: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)

    #E7A2FC

    oklch(80.9% 0.143 318.1)

  5. Step 400

    400

    #D966FA

    oklch(70.6% 0.229 318.1)

  6. Step 500

    500

    #CD1FF7

    oklch(63.1% 0.292 318)

  7. Step 600

    600

    #B000D5

    oklch(55.7% 0.27 318.2)

  8. Step 700

    700

    #9400B4

    oklch(49% 0.238 318.1)

  9. Step 800

    800

    #7A0095

    oklch(42.6% 0.207 318)

  10. Step 900

    900

    #67007E

    oklch(37.8% 0.183 318.1)

  11. Step 950

    950

    #3D064B

    oklch(27% 0.121 318)

Export this scale for Tailwind in the Tailwind colors tool

#E7A2FC 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)#A6BEF90.111
Tritanopia (no blue cones)#E7ADC40.093
Achromatopsia (no color)#BBBBBB0.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7A2FC

    #E7A2FC

    oklch(80.9% 0.143 318.1)

  • #91D67A

    #91D67A

    oklch(80.9% 0.142 138.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7A2FC

    #E7A2FC

    oklch(80.9% 0.143 318.1)

  • #BDB6FF

    #BDB6FF

    oklch(80.8% 0.102 288.3)

  • #FF9CCF

    #FF9CCF

    oklch(80.8% 0.132 348.3)

Open the analogous palette in the generator

Split complementary

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

  • #E7A2FC

    #E7A2FC

    oklch(80.9% 0.143 318.1)

  • #CAC74D

    #CAC74D

    oklch(80.9% 0.142 107.9)

  • #48DEAF

    #48DEAF

    oklch(81% 0.143 167.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7A2FC

    #E7A2FC

    oklch(80.9% 0.143 318.1)

  • #F3B446

    #F3B446

    oklch(81% 0.143 77.9)

  • #00DBE1

    #00DBE1

    oklch(80.9% 0.138 198.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7A2FC

    #E7A2FC

    oklch(80.9% 0.143 318.1)

  • #FFA97C

    #FFA97C

    oklch(81% 0.118 48.2)

  • #91D67A

    #91D67A

    oklch(80.9% 0.142 138.2)

  • #5CD0FF

    #5CD0FF

    oklch(80.9% 0.123 228)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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