#E7A7FC

Closest named color: Light Violet (#D6B4FC). oklch(81.7% 0.134 317.6), rgb(231, 167, 252).

Aa

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

About this color

#E7A7FC is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.134 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.039 away. Black text reads best on it, at 11.33:1.

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.33:1
White text1.85:1

Values

HEX#E7A7FC
RGBrgb(231, 167, 252)
HSLhsl(285, 93%, 82%)
OKLCHoklch(81.7% 0.134 317.6)

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 #E7A7FC 1.85:1 Fails Lc -38.9 Non-text elements, placeholder text
Black text on #E7A7FC 11.33:1 AAA Lc 69.1 Content text, not long reading
#E7A7FC text on white 1.85:1 Fails Lc 34.8 Non-text elements, placeholder text
#E7A7FC text on black 11.33:1 AAA Lc -67.8 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)

    #E7A7FC

    oklch(81.7% 0.134 317.6)

  5. Step 400

    400

    #D56CF6

    oklch(70.7% 0.215 317.4)

  6. Step 500

    500

    #C932F2

    oklch(63.2% 0.274 317.6)

  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

    #66057D

    oklch(37.8% 0.179 317.9)

  11. Step 950

    950

    #3C0A49

    oklch(27% 0.114 318.1)

Export this scale for Tailwind in the Tailwind colors tool

#E7A7FC 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)#9BBAFF0.111
Deuteranopia (no green cones)#AAC0F90.102
Tritanopia (no blue cones)#E7B1C60.089
Achromatopsia (no color)#BEBEBE0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7A7FC

    #E7A7FC

    oklch(81.7% 0.134 317.6)

  • #98D880

    #98D880

    oklch(81.8% 0.135 137.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7A7FC

    #E7A7FC

    oklch(81.7% 0.134 317.6)

  • #BFBAFF

    #BFBAFF

    oklch(81.7% 0.096 287.4)

  • #FFA1D2

    #FFA1D2

    oklch(81.7% 0.126 347.7)

Open the analogous palette in the generator

Split complementary

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

  • #E7A7FC

    #E7A7FC

    oklch(81.7% 0.134 317.6)

  • #CCC959

    #CCC959

    oklch(81.6% 0.134 107.6)

  • #5ADFB2

    #5ADFB2

    oklch(81.8% 0.134 167.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7A7FC

    #E7A7FC

    oklch(81.7% 0.134 317.6)

  • #F3B754

    #F3B754

    oklch(81.7% 0.134 77.3)

  • #24DDE2

    #24DDE2

    oklch(81.7% 0.134 197.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7A7FC

    #E7A7FC

    oklch(81.7% 0.134 317.6)

  • #FFAD83

    #FFAD83

    oklch(81.8% 0.112 47.8)

  • #98D880

    #98D880

    oklch(81.8% 0.135 137.6)

  • #64D2FF

    #64D2FF

    oklch(81.7% 0.119 227.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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