#E7AFE8

Closest named color: Light Violet (#D6B4FC). oklch(82.3% 0.099 325.9), rgb(231, 175, 232).

Aa

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

About this color

#E7AFE8 is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.099 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.036 away. Black text reads best on it, at 11.69:1.

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.69:1
White text1.79:1

Values

HEX#E7AFE8
RGBrgb(231, 175, 232)
HSLhsl(299, 55%, 80%)
OKLCHoklch(82.3% 0.099 325.9)

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 #E7AFE8 1.79:1 Fails Lc -37.2 Non-text elements, placeholder text
Black text on #E7AFE8 11.69:1 AAA Lc 70.7 Content text, not long reading
#E7AFE8 text on white 1.79:1 Fails Lc 33.2 Non-text elements, placeholder text
#E7AFE8 text on black 11.69:1 AAA Lc -69.4 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F4

    oklch(93.6% 0.027 325.8)

  3. Step 200

    200

    #EDCDED

    oklch(88.5% 0.055 326)

  4. Step 300

    300 (this color)

    #E7AFE8

    oklch(82.3% 0.099 325.9)

  5. Step 400

    400

    #D27AD5

    oklch(70.6% 0.159 325.9)

  6. Step 500

    500

    #C453CA

    oklch(63.1% 0.202 325.6)

  7. Step 600

    600

    #B02FB6

    oklch(55.6% 0.221 326.1)

  8. Step 700

    700

    #971F9D

    oklch(49.1% 0.205 326)

  9. Step 800

    800

    #7A1E7F

    oklch(42.6% 0.169 325.8)

  10. Step 900

    900

    #632066

    oklch(37.7% 0.132 326)

  11. Step 950

    950

    #3A143C

    oklch(26.9% 0.084 325.6)

Export this scale for Tailwind in the Tailwind colors tool

#E7AFE8 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)#ABBDEA0.088
Deuteranopia (no green cones)#B8C4E60.082
Tritanopia (no blue cones)#EAB4C30.058
Achromatopsia (no color)#C1C1C10.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7AFE8

    #E7AFE8

    oklch(82.3% 0.099 325.9)

  • #9BD79E

    #9BD79E

    oklch(82.3% 0.1 145.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7AFE8

    #E7AFE8

    oklch(82.3% 0.099 325.9)

  • #CAB8FF

    #CAB8FF

    oklch(82.3% 0.1 295.8)

  • #F9AAC7

    #F9AAC7

    oklch(82.2% 0.099 355.8)

Open the analogous palette in the generator

Split complementary

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

  • #E7AFE8

    #E7AFE8

    oklch(82.3% 0.099 325.9)

  • #C2CE82

    #C2CE82

    oklch(82.5% 0.1 116)

  • #79DAC3

    #79DAC3

    oklch(82.2% 0.098 176.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7AFE8

    #E7AFE8

    oklch(82.3% 0.099 325.9)

  • #E2C178

    #E2C178

    oklch(82.4% 0.099 86)

  • #6ED8E5

    #6ED8E5

    oklch(82.4% 0.099 206)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7AFE8

    #E7AFE8

    oklch(82.3% 0.099 325.9)

  • #F7B586

    #F7B586

    oklch(82.4% 0.099 56.3)

  • #9BD79E

    #9BD79E

    oklch(82.3% 0.1 145.8)

  • #83D0FD

    #83D0FD

    oklch(82.4% 0.099 235.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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