#E2A7FF

Closest named color: Lilac (#CEA2FD). oklch(81.4% 0.135 314.1), rgb(226, 167, 255).

Aa

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

About this color

#E2A7FF is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.135 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.035 away. Black text reads best on it, at 11.20:1.

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

Values

HEX#E2A7FF
RGBrgb(226, 167, 255)
HSLhsl(280, 100%, 83%)
OKLCHoklch(81.4% 0.135 314.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 #E2A7FF 1.87:1 Fails Lc -39.6 Non-text elements, placeholder text
Black text on #E2A7FF 11.20:1 AAA Lc 68.5 Content text, not long reading
#E2A7FF text on white 1.87:1 Fails Lc 35.4 Non-text elements, placeholder text
#E2A7FF text on black 11.20:1 AAA Lc -67.2 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

    #FAF2FE

    oklch(97.1% 0.018 314.7)

  2. Step 100

    100

    #F4E3FD

    oklch(93.7% 0.039 314.1)

  3. Step 200

    200

    #ECCBFC

    oklch(88.5% 0.075 314.7)

  4. Step 300

    300 (this color)

    #E2A7FF

    oklch(81.4% 0.135 314.1)

  5. Step 400

    400

    #D06EFC

    oklch(70.7% 0.216 314.1)

  6. Step 500

    500

    #C335FA

    oklch(63.1% 0.276 314)

  7. Step 600

    600

    #AA00DF

    oklch(55.5% 0.275 314)

  8. Step 700

    700

    #9000BD

    oklch(49.1% 0.243 314.1)

  9. Step 800

    800

    #77009C

    oklch(42.7% 0.211 314.4)

  10. Step 900

    900

    #620782

    oklch(37.6% 0.181 313.8)

  11. Step 950

    950

    #3A0B4C

    oklch(27% 0.115 314.4)

Export this scale for Tailwind in the Tailwind colors tool

#E2A7FF 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)#99BAFF0.107
Deuteranopia (no green cones)#A7BFFC0.098
Tritanopia (no blue cones)#E0B2C80.092
Achromatopsia (no color)#BDBDBD0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #E2A7FF

    #E2A7FF

    oklch(81.4% 0.135 314.1)

  • #9DD579

    #9DD579

    oklch(81.3% 0.135 134.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E2A7FF

    #E2A7FF

    oklch(81.4% 0.135 314.1)

  • #BABAFF

    #BABAFF

    oklch(81.4% 0.097 284)

  • #FF9ED7

    #FF9ED7

    oklch(81.4% 0.134 344.3)

Open the analogous palette in the generator

Split complementary

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

  • #E2A7FF

    #E2A7FF

    oklch(81.4% 0.135 314.1)

  • #D1C654

    #D1C654

    oklch(81.4% 0.135 103.8)

  • #5EDDAB

    #5EDDAB

    oklch(81.3% 0.135 164.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E2A7FF

    #E2A7FF

    oklch(81.4% 0.135 314.1)

  • #F6B454

    #F6B454

    oklch(81.4% 0.135 73.9)

  • #20DDDC

    #20DDDC

    oklch(81.4% 0.135 194.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E2A7FF

    #E2A7FF

    oklch(81.4% 0.135 314.1)

  • #FFAA86

    #FFAA86

    oklch(81.3% 0.112 43.7)

  • #9DD579

    #9DD579

    oklch(81.3% 0.135 134.1)

  • #51D3FF

    #51D3FF

    oklch(81.3% 0.128 224.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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