#E7AFEB

Closest named color: Light Violet (#D6B4FC). oklch(82.4% 0.102 324.2), rgb(231, 175, 235).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.102)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.72:1
White text1.79:1

Values

HEX#E7AFEB
RGBrgb(231, 175, 235)
HSLhsl(296, 60%, 80%)
OKLCHoklch(82.4% 0.102 324.2)

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 #E7AFEB 1.79:1 Fails Lc -37.1 Non-text elements, placeholder text
Black text on #E7AFEB 11.72:1 AAA Lc 70.8 Content text, not long reading
#E7AFEB text on white 1.79:1 Fails Lc 33.0 Non-text elements, placeholder text
#E7AFEB text on black 11.72:1 AAA Lc -69.6 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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F4E4F5

    oklch(93.7% 0.028 324)

  3. Step 200

    200

    #EDCDEF

    oklch(88.5% 0.057 324.2)

  4. Step 300

    300 (this color)

    #E7AFEB

    oklch(82.4% 0.102 324.2)

  5. Step 400

    400

    #D279D9

    oklch(70.7% 0.164 324.5)

  6. Step 500

    500

    #C451CE

    oklch(63.1% 0.208 324.4)

  7. Step 600

    600

    #AF2CBB

    oklch(55.5% 0.227 324.3)

  8. Step 700

    700

    #961CA1

    oklch(49% 0.21 324.3)

  9. Step 800

    800

    #7A1C83

    oklch(42.7% 0.174 324.1)

  10. Step 900

    900

    #631F69

    oklch(37.7% 0.137 324.4)

  11. Step 950

    950

    #3A143D

    oklch(27% 0.086 324.7)

Export this scale for Tailwind in the Tailwind colors tool

#E7AFEB 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)#AABDED0.089
Deuteranopia (no green cones)#B7C4E90.083
Tritanopia (no blue cones)#EAB4C40.061
Achromatopsia (no color)#C2C2C20.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7AFEB

    #E7AFEB

    oklch(82.4% 0.102 324.2)

  • #9DD79C

    #9DD79C

    oklch(82.4% 0.101 144.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7AFEB

    #E7AFEB

    oklch(82.4% 0.102 324.2)

  • #C9BAFF

    #C9BAFF

    oklch(82.5% 0.097 294.2)

  • #FBAACA

    #FBAACA

    oklch(82.5% 0.103 354.2)

Open the analogous palette in the generator

Split complementary

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

  • #E7AFEB

    #E7AFEB

    oklch(82.4% 0.102 324.2)

  • #C4CD7F

    #C4CD7F

    oklch(82.4% 0.101 114)

  • #78DBC1

    #78DBC1

    oklch(82.4% 0.101 174.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7AFEB

    #E7AFEB

    oklch(82.4% 0.102 324.2)

  • #E5C076

    #E5C076

    oklch(82.4% 0.102 83.7)

  • #6AD9E4

    #6AD9E4

    oklch(82.4% 0.102 204)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7AFEB

    #E7AFEB

    oklch(82.4% 0.102 324.2)

  • #FAB485

    #FAB485

    oklch(82.5% 0.102 54.7)

  • #9DD79C

    #9DD79C

    oklch(82.4% 0.101 144.2)

  • #7FD1FE

    #7FD1FE

    oklch(82.5% 0.102 233.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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