#E7A6FC

Closest named color: Light Violet (#D6B4FC). oklch(81.6% 0.136 317.7), rgb(231, 166, 252).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.25:1
White text1.86:1

Values

HEX#E7A6FC
RGBrgb(231, 166, 252)
HSLhsl(285, 93%, 82%)
OKLCHoklch(81.6% 0.136 317.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 #E7A6FC 1.86:1 Fails Lc -39.3 Non-text elements, placeholder text
Black text on #E7A6FC 11.25:1 AAA Lc 68.8 Content text, not long reading
#E7A6FC text on white 1.86:1 Fails Lc 35.1 Non-text elements, placeholder text
#E7A6FC text on black 11.25:1 AAA Lc -67.4 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

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F5E2FB

    oklch(93.5% 0.039 318.1)

  3. Step 200

    200

    #EECAFA

    oklch(88.5% 0.075 317.6)

  4. Step 300

    300 (this color)

    #E7A6FC

    oklch(81.6% 0.136 317.7)

  5. Step 400

    400

    #D66BF7

    oklch(70.7% 0.217 317.6)

  6. Step 500

    500

    #CA2FF3

    oklch(63.2% 0.278 317.7)

  7. Step 600

    600

    #AF00D6

    oklch(55.6% 0.27 317.7)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0096

    oklch(42.7% 0.207 317.7)

  10. Step 900

    900

    #66027E

    oklch(37.7% 0.182 317.6)

  11. Step 950

    950

    #3C0A4A

    oklch(27.1% 0.115 317.5)

Export this scale for Tailwind in the Tailwind colors tool

#E7A6FC 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)#9AB9FF0.113
Deuteranopia (no green cones)#AAC0F90.104
Tritanopia (no blue cones)#E7B0C60.089
Achromatopsia (no color)#BEBEBE0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7A6FC

    #E7A6FC

    oklch(81.6% 0.136 317.7)

  • #97D77F

    #97D77F

    oklch(81.5% 0.135 137.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7A6FC

    #E7A6FC

    oklch(81.6% 0.136 317.7)

  • #BFB9FF

    #BFB9FF

    oklch(81.6% 0.098 287.9)

  • #FFA0D2

    #FFA0D2

    oklch(81.6% 0.127 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #E7A6FC

    #E7A6FC

    oklch(81.6% 0.136 317.7)

  • #CCC957

    #CCC957

    oklch(81.6% 0.136 107.7)

  • #56DFB1

    #56DFB1

    oklch(81.7% 0.137 167.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7A6FC

    #E7A6FC

    oklch(81.6% 0.136 317.7)

  • #F3B751

    #F3B751

    oklch(81.6% 0.136 77.9)

  • #1ADDE2

    #1ADDE2

    oklch(81.6% 0.136 197.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7A6FC

    #E7A6FC

    oklch(81.6% 0.136 317.7)

  • #FFAC82

    #FFAC82

    oklch(81.6% 0.113 47.5)

  • #97D77F

    #97D77F

    oklch(81.5% 0.135 137.6)

  • #63D2FF

    #63D2FF

    oklch(81.6% 0.119 227.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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