#E7AFEF

Closest named color: Light Violet (#D6B4FC). oklch(82.6% 0.106 322.2), rgb(231, 175, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (83%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.77:1
White text1.78:1

Values

HEX#E7AFEF
RGBrgb(231, 175, 239)
HSLhsl(293, 67%, 81%)
OKLCHoklch(82.6% 0.106 322.2)

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 #E7AFEF 1.78:1 Fails Lc -36.8 Non-text elements, placeholder text
Black text on #E7AFEF 11.77:1 AAA Lc 71.0 Content text, not long reading
#E7AFEF text on white 1.78:1 Fails Lc 32.8 Non-text elements, placeholder text
#E7AFEF text on black 11.77:1 AAA Lc -69.8 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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F4E3F6

    oklch(93.5% 0.031 322.6)

  3. Step 200

    200

    #ECCDF1

    oklch(88.5% 0.059 321.6)

  4. Step 300

    300 (this color)

    #E7AFEF

    oklch(82.6% 0.106 322.2)

  5. Step 400

    400

    #D178DE

    oklch(70.7% 0.17 322.3)

  6. Step 500

    500

    #C34FD5

    oklch(63.1% 0.217 322.1)

  7. Step 600

    600

    #AF27C2

    oklch(55.6% 0.237 322.3)

  8. Step 700

    700

    #9616A7

    oklch(49.1% 0.219 322.4)

  9. Step 800

    800

    #7A1888

    oklch(42.8% 0.182 322.2)

  10. Step 900

    900

    #621D6D

    oklch(37.6% 0.143 321.8)

  11. Step 950

    950

    #3A1340

    oklch(27% 0.091 322.1)

Export this scale for Tailwind in the Tailwind colors tool

#E7AFEF 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)#A9BEF20.091
Deuteranopia (no green cones)#B6C4ED0.084
Tritanopia (no blue cones)#E9B5C60.065
Achromatopsia (no color)#C2C2C20.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7AFEF

    #E7AFEF

    oklch(82.6% 0.106 322.2)

  • #9ED898

    #9ED898

    oklch(82.6% 0.106 142.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7AFEF

    #E7AFEF

    oklch(82.6% 0.106 322.2)

  • #C7BBFF

    #C7BBFF

    oklch(82.6% 0.095 292.3)

  • #FCA9CD

    #FCA9CD

    oklch(82.6% 0.107 352.1)

Open the analogous palette in the generator

Split complementary

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

  • #E7AFEF

    #E7AFEF

    oklch(82.6% 0.106 322.2)

  • #C7CD7A

    #C7CD7A

    oklch(82.5% 0.106 112.1)

  • #76DDBE

    #76DDBE

    oklch(82.7% 0.107 171.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7AFEF

    #E7AFEF

    oklch(82.6% 0.106 322.2)

  • #E8C073

    #E8C073

    oklch(82.7% 0.106 82.7)

  • #65DBE4

    #65DBE4

    oklch(82.7% 0.107 202.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7AFEF

    #E7AFEF

    oklch(82.6% 0.106 322.2)

  • #FDB385

    #FDB385

    oklch(82.7% 0.106 52.6)

  • #9ED898

    #9ED898

    oklch(82.6% 0.106 142.3)

  • #7AD2FF

    #7AD2FF

    oklch(82.5% 0.106 232.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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