#E4AFEB

Closest named color: Light Violet (#D6B4FC). oklch(82.2% 0.1 322.5), rgb(228, 175, 235).

Aa

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

About this color

#E4AFEB is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.100 and its hue 323°. 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.63:1.

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

Values

HEX#E4AFEB
RGBrgb(228, 175, 235)
HSLhsl(293, 60%, 80%)
OKLCHoklch(82.2% 0.1 322.5)

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 #E4AFEB 1.80:1 Fails Lc -37.6 Non-text elements, placeholder text
Black text on #E4AFEB 11.63:1 AAA Lc 70.4 Content text, not long reading
#E4AFEB text on white 1.80:1 Fails Lc 33.5 Non-text elements, placeholder text
#E4AFEB text on black 11.63:1 AAA Lc -69.1 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

    #EBCDEF

    oklch(88.4% 0.056 322.3)

  4. Step 300

    300 (this color)

    #E4AFEB

    oklch(82.2% 0.1 322.5)

  5. Step 400

    400

    #CF7BDA

    oklch(70.7% 0.16 322.8)

  6. Step 500

    500

    #C154D0

    oklch(63.2% 0.204 322.7)

  7. Step 600

    600

    #AC31BD

    oklch(55.6% 0.222 322.5)

  8. Step 700

    700

    #9321A3

    oklch(49.1% 0.207 322.3)

  9. Step 800

    800

    #781F84

    oklch(42.7% 0.171 322.6)

  10. Step 900

    900

    #61216A

    oklch(37.7% 0.134 322.5)

  11. Step 950

    950

    #39153E

    oklch(27% 0.084 322.6)

Export this scale for Tailwind in the Tailwind colors tool

#E4AFEB 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)#A9BDED0.087
Deuteranopia (no green cones)#B5C3E90.080
Tritanopia (no blue cones)#E6B5C40.062
Achromatopsia (no color)#C1C1C10.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #E4AFEB

    #E4AFEB

    oklch(82.2% 0.1 322.5)

  • #9FD69A

    #9FD69A

    oklch(82.3% 0.1 142.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E4AFEB

    #E4AFEB

    oklch(82.2% 0.1 322.5)

  • #C6B9FF

    #C6B9FF

    oklch(82.1% 0.098 292.6)

  • #F8AACB

    #F8AACB

    oklch(82.2% 0.1 352.5)

Open the analogous palette in the generator

Split complementary

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

  • #E4AFEB

    #E4AFEB

    oklch(82.2% 0.1 322.5)

  • #C5CC7E

    #C5CC7E

    oklch(82.2% 0.101 112.8)

  • #7BDABE

    #7BDABE

    oklch(82.2% 0.1 172.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E4AFEB

    #E4AFEB

    oklch(82.2% 0.1 322.5)

  • #E5BF77

    #E5BF77

    oklch(82.2% 0.1 82.5)

  • #6CD8E1

    #6CD8E1

    oklch(82.2% 0.1 202.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E4AFEB

    #E4AFEB

    oklch(82.2% 0.1 322.5)

  • #F9B387

    #F9B387

    oklch(82.3% 0.1 53)

  • #9FD69A

    #9FD69A

    oklch(82.3% 0.1 142.6)

  • #7ED0FB

    #7ED0FB

    oklch(82.1% 0.101 232.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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