#E7A7FB

Closest named color: Light Violet (#D6B4FC). oklch(81.7% 0.133 317.9), rgb(231, 167, 251).

Aa

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

About this color

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

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

Values

HEX#E7A7FB
RGBrgb(231, 167, 251)
HSLhsl(286, 91%, 82%)
OKLCHoklch(81.7% 0.133 317.9)

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 #E7A7FB 1.85:1 Fails Lc -39.0 Non-text elements, placeholder text
Black text on #E7A7FB 11.31:1 AAA Lc 69.0 Content text, not long reading
#E7A7FB text on white 1.85:1 Fails Lc 34.8 Non-text elements, placeholder text
#E7A7FB text on black 11.31:1 AAA Lc -67.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

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F5E2FB

    oklch(93.5% 0.039 318.1)

  3. Step 200

    200

    #EECAF9

    oklch(88.4% 0.074 318.2)

  4. Step 300

    300 (this color)

    #E7A7FB

    oklch(81.7% 0.133 317.9)

  5. Step 400

    400

    #D56CF5

    oklch(70.6% 0.214 317.7)

  6. Step 500

    500

    #C933F0

    oklch(63.1% 0.272 318)

  7. Step 600

    600

    #AF00D5

    oklch(55.5% 0.269 317.9)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0095

    oklch(42.6% 0.207 318)

  10. Step 900

    900

    #66067C

    oklch(37.7% 0.178 318.2)

  11. Step 950

    950

    #3C0B49

    oklch(27.1% 0.113 318)

Export this scale for Tailwind in the Tailwind colors tool

#E7A7FB 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)#9CBAFE0.110
Deuteranopia (no green cones)#ABC0F80.101
Tritanopia (no blue cones)#E7B1C60.087
Achromatopsia (no color)#BEBEBE0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7A7FB

    #E7A7FB

    oklch(81.7% 0.133 317.9)

  • #98D881

    #98D881

    oklch(81.8% 0.134 137.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7A7FB

    #E7A7FB

    oklch(81.7% 0.133 317.9)

  • #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°).

  • #E7A7FB

    #E7A7FB

    oklch(81.7% 0.133 317.9)

  • #CCC95B

    #CCC95B

    oklch(81.7% 0.132 107.6)

  • #5ADFB3

    #5ADFB3

    oklch(81.8% 0.133 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7A7FB

    #E7A7FB

    oklch(81.7% 0.133 317.9)

  • #F2B855

    #F2B855

    oklch(81.7% 0.133 78.3)

  • #28DDE2

    #28DDE2

    oklch(81.7% 0.133 197.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7A7FB

    #E7A7FB

    oklch(81.7% 0.133 317.9)

  • #FFAD82

    #FFAD82

    oklch(81.8% 0.112 48.3)

  • #98D881

    #98D881

    oklch(81.8% 0.134 137.8)

  • #65D2FF

    #65D2FF

    oklch(81.7% 0.118 227.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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