#E7AFE5

Closest named color: Light Violet (#D6B4FC). oklch(82.2% 0.096 327.6), rgb(231, 175, 229).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.096)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.66:1
White text1.80:1

Values

HEX#E7AFE5
RGBrgb(231, 175, 229)
HSLhsl(302, 54%, 80%)
OKLCHoklch(82.2% 0.096 327.6)

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 #E7AFE5 1.80:1 Fails Lc -37.4 Non-text elements, placeholder text
Black text on #E7AFE5 11.66:1 AAA Lc 70.5 Content text, not long reading
#E7AFE5 text on white 1.80:1 Fails Lc 33.4 Non-text elements, placeholder text
#E7AFE5 text on black 11.66:1 AAA Lc -69.3 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

    #F5E4F4

    oklch(93.7% 0.028 327.6)

  3. Step 200

    200

    #EDCDEC

    oklch(88.4% 0.054 327)

  4. Step 300

    300 (this color)

    #E7AFE5

    oklch(82.2% 0.096 327.6)

  5. Step 400

    400

    #D27BD1

    oklch(70.6% 0.153 327.5)

  6. Step 500

    500

    #C554C5

    oklch(63.1% 0.197 327.6)

  7. Step 600

    600

    #B032B1

    oklch(55.6% 0.213 327.6)

  8. Step 700

    700

    #972398

    oklch(49.1% 0.198 327.7)

  9. Step 800

    800

    #7B207C

    oklch(42.8% 0.165 327.5)

  10. Step 900

    900

    #632163

    oklch(37.6% 0.128 327.8)

  11. Step 950

    950

    #3A153A

    oklch(26.9% 0.08 327.5)

Export this scale for Tailwind in the Tailwind colors tool

#E7AFE5 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)#ACBDE70.087
Deuteranopia (no green cones)#B9C4E30.081
Tritanopia (no blue cones)#EBB3C20.054
Achromatopsia (no color)#C1C1C10.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7AFE5

    #E7AFE5

    oklch(82.2% 0.096 327.6)

  • #9AD6A1

    #9AD6A1

    oklch(82.1% 0.096 147.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7AFE5

    #E7AFE5

    oklch(82.2% 0.096 327.6)

  • #CCB8FC

    #CCB8FC

    oklch(82.3% 0.096 297.7)

  • #F8ABC5

    #F8ABC5

    oklch(82.2% 0.096 357.5)

Open the analogous palette in the generator

Split complementary

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

  • #E7AFE5

    #E7AFE5

    oklch(82.2% 0.096 327.6)

  • #BFCE85

    #BFCE85

    oklch(82.3% 0.097 118)

  • #7BDAC4

    #7BDAC4

    oklch(82.3% 0.096 177.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7AFE5

    #E7AFE5

    oklch(82.2% 0.096 327.6)

  • #DFC17A

    #DFC17A

    oklch(82.1% 0.096 87.4)

  • #72D7E5

    #72D7E5

    oklch(82.3% 0.096 207.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7AFE5

    #E7AFE5

    oklch(82.2% 0.096 327.6)

  • #F5B586

    #F5B586

    oklch(82.2% 0.097 57.2)

  • #9AD6A1

    #9AD6A1

    oklch(82.1% 0.096 147.6)

  • #87CEFC

    #87CEFC

    oklch(82.1% 0.096 238)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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