#E4AFEC

Closest named color: Light Violet (#D6B4FC). oklch(82.2% 0.101 322), rgb(228, 175, 236).

Aa

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

About this color

#E4AFEC is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.101 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.029 away. Black text reads best on it, at 11.64:1.

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

Values

HEX#E4AFEC
RGBrgb(228, 175, 236)
HSLhsl(292, 62%, 81%)
OKLCHoklch(82.2% 0.101 322)

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 #E4AFEC 1.80:1 Fails Lc -37.5 Non-text elements, placeholder text
Black text on #E4AFEC 11.64:1 AAA Lc 70.4 Content text, not long reading
#E4AFEC text on white 1.80:1 Fails Lc 33.4 Non-text elements, placeholder text
#E4AFEC text on black 11.64:1 AAA Lc -69.2 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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F4E4F6

    oklch(93.7% 0.029 322.4)

  3. Step 200

    200

    #EBCDF0

    oklch(88.4% 0.057 321.4)

  4. Step 300

    300 (this color)

    #E4AFEC

    oklch(82.2% 0.101 322)

  5. Step 400

    400

    #CF7BDC

    oklch(70.8% 0.162 322.1)

  6. Step 500

    500

    #C153D2

    oklch(63.2% 0.208 322.1)

  7. Step 600

    600

    #AC30BF

    oklch(55.7% 0.225 322)

  8. Step 700

    700

    #931FA5

    oklch(49% 0.21 321.7)

  9. Step 800

    800

    #781E85

    oklch(42.7% 0.173 322.3)

  10. Step 900

    900

    #61216B

    oklch(37.8% 0.135 322)

  11. Step 950

    950

    #39153F

    oklch(27.1% 0.085 321.7)

Export this scale for Tailwind in the Tailwind colors tool

#E4AFEC 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)#A9BDEE0.087
Deuteranopia (no green cones)#B5C3EA0.080
Tritanopia (no blue cones)#E6B5C40.064
Achromatopsia (no color)#C1C1C10.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #E4AFEC

    #E4AFEC

    oklch(82.2% 0.101 322)

  • #9FD699

    #9FD699

    oklch(82.2% 0.101 142.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E4AFEC

    #E4AFEC

    oklch(82.2% 0.101 322)

  • #C6BAFF

    #C6BAFF

    oklch(82.3% 0.097 292.1)

  • #F8AACC

    #F8AACC

    oklch(82.3% 0.1 351.8)

Open the analogous palette in the generator

Split complementary

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

  • #E4AFEC

    #E4AFEC

    oklch(82.2% 0.101 322)

  • #C6CC7D

    #C6CC7D

    oklch(82.3% 0.102 112.2)

  • #7ADABD

    #7ADABD

    oklch(82.1% 0.101 172.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E4AFEC

    #E4AFEC

    oklch(82.2% 0.101 322)

  • #E6BF76

    #E6BF76

    oklch(82.3% 0.102 82.2)

  • #6AD8E1

    #6AD8E1

    oklch(82.1% 0.101 202.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E4AFEC

    #E4AFEC

    oklch(82.2% 0.101 322)

  • #FAB287

    #FAB287

    oklch(82.2% 0.102 51.7)

  • #9FD699

    #9FD699

    oklch(82.2% 0.101 142.2)

  • #7DD1FB

    #7DD1FB

    oklch(82.3% 0.101 231.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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