#E2AFEC

Closest named color: Light Violet (#D6B4FC). oklch(82% 0.1 320.8), rgb(226, 175, 236).

Aa

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

About this color

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

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

Values

HEX#E2AFEC
RGBrgb(226, 175, 236)
HSLhsl(290, 62%, 81%)
OKLCHoklch(82% 0.1 320.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 #E2AFEC 1.81:1 Fails Lc -37.8 Non-text elements, placeholder text
Black text on #E2AFEC 11.57:1 AAA Lc 70.1 Content text, not long reading
#E2AFEC text on white 1.81:1 Fails Lc 33.7 Non-text elements, placeholder text
#E2AFEC text on black 11.57:1 AAA Lc -68.9 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

    #F3E4F6

    oklch(93.6% 0.029 320.6)

  3. Step 200

    200

    #EACEF0

    oklch(88.5% 0.055 320.3)

  4. Step 300

    300 (this color)

    #E2AFEC

    oklch(82% 0.1 320.8)

  5. Step 400

    400

    #CD7CDD

    oklch(70.7% 0.161 320.8)

  6. Step 500

    500

    #BE55D3

    oklch(63.1% 0.204 320.7)

  7. Step 600

    600

    #AA32C0

    oklch(55.6% 0.223 320.9)

  8. Step 700

    700

    #9122A6

    oklch(49% 0.207 320.5)

  9. Step 800

    800

    #762086

    oklch(42.7% 0.171 320.8)

  10. Step 900

    900

    #60226C

    oklch(37.8% 0.134 320.8)

  11. Step 950

    950

    #38153F

    oklch(27% 0.085 320.7)

Export this scale for Tailwind in the Tailwind colors tool

#E2AFEC 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.084
Deuteranopia (no green cones)#B4C2EA0.078
Tritanopia (no blue cones)#E4B5C40.064
Achromatopsia (no color)#C0C0C00.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #E2AFEC

    #E2AFEC

    oklch(82% 0.1 320.8)

  • #A1D597

    #A1D597

    oklch(82.1% 0.101 140.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E2AFEC

    #E2AFEC

    oklch(82% 0.1 320.8)

  • #C4B9FF

    #C4B9FF

    oklch(82% 0.098 291.3)

  • #F6A9CC

    #F6A9CC

    oklch(81.9% 0.1 350.7)

Open the analogous palette in the generator

Split complementary

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

  • #E2AFEC

    #E2AFEC

    oklch(82% 0.1 320.8)

  • #C7CB7D

    #C7CB7D

    oklch(82.1% 0.101 110.9)

  • #7CD9BB

    #7CD9BB

    oklch(81.9% 0.1 170.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E2AFEC

    #E2AFEC

    oklch(82% 0.1 320.8)

  • #E6BE77

    #E6BE77

    oklch(82.1% 0.1 81)

  • #6BD8DE

    #6BD8DE

    oklch(82% 0.1 200.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E2AFEC

    #E2AFEC

    oklch(82% 0.1 320.8)

  • #F9B188

    #F9B188

    oklch(81.9% 0.101 50.5)

  • #A1D597

    #A1D597

    oklch(82.1% 0.101 140.5)

  • #7CD0F9

    #7CD0F9

    oklch(81.9% 0.1 230.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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