#E4AFFA

Closest named color: Light Violet (#D6B4FC). oklch(82.7% 0.117 315.8), rgb(228, 175, 250).

Aa

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

About this color

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

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

Values

HEX#E4AFFA
RGBrgb(228, 175, 250)
HSLhsl(282, 88%, 83%)
OKLCHoklch(82.7% 0.117 315.8)

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 #E4AFFA 1.77:1 Fails Lc -36.7 Non-text elements, placeholder text
Black text on #E4AFFA 11.81:1 AAA Lc 71.2 Content text, not long reading
#E4AFFA text on white 1.77:1 Fails Lc 32.7 Non-text elements, placeholder text
#E4AFFA text on black 11.81:1 AAA Lc -70.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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F3E3FA

    oklch(93.5% 0.035 315.7)

  3. Step 200

    200

    #EACDF7

    oklch(88.6% 0.065 315.4)

  4. Step 300

    300 (this color)

    #E4AFFA

    oklch(82.7% 0.117 315.8)

  5. Step 400

    400

    #CC76EE

    oklch(70.6% 0.187 315.6)

  6. Step 500

    500

    #BE4AE8

    oklch(63.1% 0.238 315.6)

  7. Step 600

    600

    #AA1AD6

    oklch(55.6% 0.259 315.7)

  8. Step 700

    700

    #9200B9

    oklch(49.1% 0.241 315.9)

  9. Step 800

    800

    #760E96

    oklch(42.6% 0.2 315.6)

  10. Step 900

    900

    #601A78

    oklch(37.8% 0.156 315.7)

  11. Step 950

    950

    #381246

    oklch(27% 0.098 315.6)

Export this scale for Tailwind in the Tailwind colors tool

#E4AFFA 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)#A4BFFD0.093
Deuteranopia (no green cones)#B0C4F80.086
Tritanopia (no blue cones)#E3B8CA0.079
Achromatopsia (no color)#C2C2C20.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #E4AFFA

    #E4AFFA

    oklch(82.7% 0.117 315.8)

  • #A4D88B

    #A4D88B

    oklch(82.7% 0.117 135.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E4AFFA

    #E4AFFA

    oklch(82.7% 0.117 315.8)

  • #C1BEFF

    #C1BEFF

    oklch(82.7% 0.091 286.3)

  • #FDA7D7

    #FDA7D7

    oklch(82.6% 0.117 345.4)

Open the analogous palette in the generator

Split complementary

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

  • #E4AFFA

    #E4AFFA

    oklch(82.7% 0.117 315.8)

  • #D1CB6D

    #D1CB6D

    oklch(82.7% 0.117 105.4)

  • #74DFB5

    #74DFB5

    oklch(82.8% 0.117 165.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E4AFFA

    #E4AFFA

    oklch(82.7% 0.117 315.8)

  • #F2BC6B

    #F2BC6B

    oklch(82.8% 0.117 76.1)

  • #56DEDF

    #56DEDF

    oklch(82.8% 0.117 195.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E4AFFA

    #E4AFFA

    oklch(82.7% 0.117 315.8)

  • #FFB18D

    #FFB18D

    oklch(82.7% 0.104 45.6)

  • #A4D88B

    #A4D88B

    oklch(82.7% 0.117 135.9)

  • #6AD6FF

    #6AD6FF

    oklch(82.8% 0.114 225.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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