#7E4D7F

Closest named color: Light Eggplant (#894585). oklch(49.5% 0.097 326.2), rgb(126, 77, 127).

Aa

White text reads best on this color (6.45:1).

About this color

#7E4D7F is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.097 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.030 away. White text reads best on it, at 6.45:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.25:1
White text6.45:1

Values

HEX#7E4D7F
RGBrgb(126, 77, 127)
HSLhsl(299, 25%, 40%)
OKLCHoklch(49.5% 0.097 326.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 #7E4D7F 6.45:1 AA Lc -86.9 Fine for body text
Black text on #7E4D7F 3.25:1 AA large text Lc 22.2 Dividers and decoration only
#7E4D7F text on white 6.45:1 AA Lc 81.8 Fine for body text
#7E4D7F text on black 3.25:1 AA large text Lc -20.0 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #EFE7EF

    oklch(93.7% 0.014 325.7)

  3. Step 200

    200

    #E3D3E2

    oklch(88.4% 0.027 327.7)

  4. Step 300

    300

    #D1B7D1

    oklch(81% 0.046 326)

  5. Step 400

    400

    #BA91BA

    oklch(70.8% 0.075 326.3)

  6. Step 500

    500

    #A875A8

    oklch(63.2% 0.095 326.6)

  7. Step 600

    600

    #935D94

    oklch(55.7% 0.104 326.2)

  8. Step 700

    700 (this color)

    #7E4D7F

    oklch(49.5% 0.097 326.2)

  9. Step 800

    800

    #663F66

    oklch(42.8% 0.079 326.8)

  10. Step 900

    900

    #533553

    oklch(37.6% 0.063 326.7)

  11. Step 950

    950

    #311F31

    oklch(27% 0.041 326.6)

Export this scale for Tailwind in the Tailwind colors tool

#7E4D7F 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)#495A810.090
Deuteranopia (no green cones)#56617D0.082
Tritanopia (no blue cones)#8152600.056
Achromatopsia (no color)#5E5E5E0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E4D7F

    #7E4D7F

    oklch(49.5% 0.097 326.2)

  • #39703F

    #39703F

    oklch(49.4% 0.097 146.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E4D7F

    #7E4D7F

    oklch(49.5% 0.097 326.2)

  • #675592

    #675592

    oklch(49.4% 0.097 296.3)

  • #8C4963

    #8C4963

    oklch(49.5% 0.096 356.5)

Open the analogous palette in the generator

Split complementary

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

  • #7E4D7F

    #7E4D7F

    oklch(49.5% 0.097 326.2)

  • #5F681E

    #5F681E

    oklch(49.4% 0.097 116)

  • #007360

    #007360

    oklch(49.6% 0.093 175.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E4D7F

    #7E4D7F

    oklch(49.5% 0.097 326.2)

  • #7A5D0C

    #7A5D0C

    oklch(49.5% 0.097 86.2)

  • #006F7A

    #006F7A

    oklch(49.5% 0.085 206.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E4D7F

    #7E4D7F

    oklch(49.5% 0.097 326.2)

  • #8B5224

    #8B5224

    oklch(49.6% 0.097 56.6)

  • #39703F

    #39703F

    oklch(49.4% 0.097 146.3)

  • #196991

    #196991

    oklch(49.4% 0.097 236.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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