#E4AFF7

Closest named color: Light Violet (#D6B4FC). oklch(82.6% 0.113 317), rgb(228, 175, 247).

Aa

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

About this color

#E4AFF7 is a light, moderately saturated purple. In OKLCH its lightness is 83%, its chroma 0.113 and its hue 317°. 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.77:1.

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

Values

HEX#E4AFF7
RGBrgb(228, 175, 247)
HSLhsl(284, 82%, 83%)
OKLCHoklch(82.6% 0.113 317)

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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F3E4F9

    oklch(93.7% 0.032 316.4)

  3. Step 200

    200

    #EACDF5

    oklch(88.5% 0.062 316.7)

  4. Step 300

    300 (this color)

    #E4AFF7

    oklch(82.6% 0.113 317)

  5. Step 400

    400

    #CD77EA

    oklch(70.6% 0.182 317.1)

  6. Step 500

    500

    #BF4CE3

    oklch(63.1% 0.231 317.1)

  7. Step 600

    600

    #AA20D1

    oklch(55.5% 0.252 316.8)

  8. Step 700

    700

    #920AB5

    oklch(49.1% 0.234 316.9)

  9. Step 800

    800

    #771393

    oklch(42.8% 0.194 316.9)

  10. Step 900

    900

    #601B75

    oklch(37.7% 0.152 317)

  11. Step 950

    950

    #381244

    oklch(26.9% 0.096 317.1)

Export this scale for Tailwind in the Tailwind colors tool

#E4AFF7 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)#A6BFFA0.091
Deuteranopia (no green cones)#B1C4F50.085
Tritanopia (no blue cones)#E4B7C90.075
Achromatopsia (no color)#C2C2C20.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #E4AFF7

    #E4AFF7

    oklch(82.6% 0.113 317)

  • #A3D78E

    #A3D78E

    oklch(82.5% 0.112 137)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E4AFF7

    #E4AFF7

    oklch(82.6% 0.113 317)

  • #C1BEFF

    #C1BEFF

    oklch(82.7% 0.091 286.3)

  • #FCA8D4

    #FCA8D4

    oklch(82.6% 0.112 347.1)

Open the analogous palette in the generator

Split complementary

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

  • #E4AFF7

    #E4AFF7

    oklch(82.6% 0.113 317)

  • #CECB71

    #CECB71

    oklch(82.5% 0.113 106.9)

  • #76DEB7

    #76DEB7

    oklch(82.7% 0.113 167.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E4AFF7

    #E4AFF7

    oklch(82.6% 0.113 317)

  • #EFBC6D

    #EFBC6D

    oklch(82.5% 0.113 77.1)

  • #5BDDDF

    #5BDDDF

    oklch(82.7% 0.113 196.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E4AFF7

    #E4AFF7

    oklch(82.6% 0.113 317)

  • #FFB18B

    #FFB18B

    oklch(82.6% 0.105 46.8)

  • #A3D78E

    #A3D78E

    oklch(82.5% 0.112 137)

  • #6CD5FF

    #6CD5FF

    oklch(82.6% 0.114 226.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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