#E7AFEC

Closest named color: Light Violet (#D6B4FC). oklch(82.5% 0.103 323.7), rgb(231, 175, 236).

Aa

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

About this color

#E7AFEC is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.103 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.74:1.

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.74:1
White text1.78:1

Values

HEX#E7AFEC
RGBrgb(231, 175, 236)
HSLhsl(295, 62%, 81%)
OKLCHoklch(82.5% 0.103 323.7)

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 #E7AFEC 1.78:1 Fails Lc -37.0 Non-text elements, placeholder text
Black text on #E7AFEC 11.74:1 AAA Lc 70.9 Content text, not long reading
#E7AFEC text on white 1.78:1 Fails Lc 33.0 Non-text elements, placeholder text
#E7AFEC text on black 11.74:1 AAA Lc -69.7 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)

    #E7AFEC

    oklch(82.5% 0.103 323.7)

  5. Step 400

    400

    #D179DA

    oklch(70.6% 0.165 323.7)

  6. Step 500

    500

    #C450D0

    oklch(63.1% 0.212 323.8)

  7. Step 600

    600

    #AF2BBD

    oklch(55.6% 0.229 323.7)

  8. Step 700

    700

    #961AA3

    oklch(49.1% 0.213 323.6)

  9. Step 800

    800

    #7A1B84

    oklch(42.7% 0.176 323.7)

  10. Step 900

    900

    #631F6A

    oklch(37.8% 0.138 323.9)

  11. Step 950

    950

    #3A143E

    oklch(27% 0.087 323.8)

Export this scale for Tailwind in the Tailwind colors tool

#E7AFEC 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)#AABDEE0.089
Deuteranopia (no green cones)#B7C4EA0.083
Tritanopia (no blue cones)#EAB5C40.064
Achromatopsia (no color)#C2C2C20.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7AFEC

    #E7AFEC

    oklch(82.5% 0.103 323.7)

  • #9DD79B

    #9DD79B

    oklch(82.4% 0.102 143.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7AFEC

    #E7AFEC

    oklch(82.5% 0.103 323.7)

  • #C8BAFF

    #C8BAFF

    oklch(82.5% 0.097 293.5)

  • #FBAACB

    #FBAACB

    oklch(82.5% 0.103 353.5)

Open the analogous palette in the generator

Split complementary

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

  • #E7AFEC

    #E7AFEC

    oklch(82.5% 0.103 323.7)

  • #C5CD7E

    #C5CD7E

    oklch(82.4% 0.102 113.4)

  • #78DCC0

    #78DCC0

    oklch(82.6% 0.103 173.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7AFEC

    #E7AFEC

    oklch(82.5% 0.103 323.7)

  • #E6C075

    #E6C075

    oklch(82.5% 0.103 83.4)

  • #69D9E4

    #69D9E4

    oklch(82.4% 0.103 204)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7AFEC

    #E7AFEC

    oklch(82.5% 0.103 323.7)

  • #FBB385

    #FBB385

    oklch(82.4% 0.104 53.4)

  • #9DD79B

    #9DD79B

    oklch(82.4% 0.102 143.8)

  • #7ED1FE

    #7ED1FE

    oklch(82.4% 0.103 233.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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