#E7A2FB

Closest named color: Lilac (#CEA2FD). oklch(80.9% 0.142 318.5), rgb(231, 162, 251).

Aa

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

About this color

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

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

Values

HEX#E7A2FB
RGBrgb(231, 162, 251)
HSLhsl(287, 92%, 81%)
OKLCHoklch(80.9% 0.142 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 #E7A2FB 1.91:1 Fails Lc -40.7 Non-text elements, placeholder text
Black text on #E7A2FB 10.95:1 AAA Lc 67.4 Content text, not long reading
#E7A2FB text on white 1.91:1 Fails Lc 36.5 Non-text elements, placeholder text
#E7A2FB text on black 10.95:1 AAA Lc -66.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

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F6E2FC

    oklch(93.7% 0.041 318.4)

  3. Step 200

    200

    #F0C9FB

    oklch(88.5% 0.079 318.7)

  4. Step 300

    300 (this color)

    #E7A2FB

    oklch(80.9% 0.142 318.5)

  5. Step 400

    400

    #D967F9

    oklch(70.7% 0.226 318.3)

  6. Step 500

    500

    #CD21F5

    oklch(63% 0.289 318.4)

  7. Step 600

    600

    #B000D4

    oklch(55.6% 0.269 318.5)

  8. Step 700

    700

    #9500B4

    oklch(49.2% 0.238 318.4)

  9. Step 800

    800

    #7B0095

    oklch(42.8% 0.207 318.4)

  10. Step 900

    900

    #67007D

    oklch(37.7% 0.182 318.5)

  11. Step 950

    950

    #3D074A

    oklch(27% 0.119 318.6)

Export this scale for Tailwind in the Tailwind colors tool

#E7A2FB 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)#96B7FE0.119
Deuteranopia (no green cones)#A7BEF80.110
Tritanopia (no blue cones)#E8ADC30.093
Achromatopsia (no color)#BBBBBB0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7A2FB

    #E7A2FB

    oklch(80.9% 0.142 318.5)

  • #91D67B

    #91D67B

    oklch(80.9% 0.141 138.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7A2FB

    #E7A2FB

    oklch(80.9% 0.142 318.5)

  • #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°).

  • #E7A2FB

    #E7A2FB

    oklch(80.9% 0.142 318.5)

  • #C9C74E

    #C9C74E

    oklch(80.8% 0.142 108.3)

  • #49DDB0

    #49DDB0

    oklch(80.8% 0.141 168.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7A2FB

    #E7A2FB

    oklch(80.9% 0.142 318.5)

  • #F2B447

    #F2B447

    oklch(80.9% 0.141 78.1)

  • #00DBE1

    #00DBE1

    oklch(80.9% 0.138 198.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7A2FB

    #E7A2FB

    oklch(80.9% 0.142 318.5)

  • #FFA97B

    #FFA97B

    oklch(80.9% 0.119 48.6)

  • #91D67B

    #91D67B

    oklch(80.9% 0.141 138.4)

  • #5DD0FF

    #5DD0FF

    oklch(81% 0.123 228.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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