#7E4978

Closest named color: Light Eggplant (#894585). oklch(48.5% 0.097 331.1), rgb(126, 73, 120).

Aa

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

About this color

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

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

Values

HEX#7E4978
RGBrgb(126, 73, 120)
HSLhsl(307, 27%, 39%)
OKLCHoklch(48.5% 0.097 331.1)

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 #7E4978 6.74:1 AA Lc -88.1 Fine for body text
Black text on #7E4978 3.11:1 AA large text Lc 21.0 Dividers and decoration only
#7E4978 text on white 6.74:1 AA Lc 83.0 Fine for body text
#7E4978 text on black 3.11:1 AA large text Lc -18.9 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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #F0E7EE

    oklch(93.7% 0.013 333)

  3. Step 200

    200

    #E4D3E1

    oklch(88.5% 0.026 331.6)

  4. Step 300

    300

    #D3B6CF

    oklch(80.9% 0.047 330.5)

  5. Step 400

    400

    #BD90B6

    oklch(70.8% 0.075 331.8)

  6. Step 500

    500

    #AB73A4

    oklch(63% 0.097 331.1)

  7. Step 600

    600

    #965B8F

    oklch(55.5% 0.105 331.2)

  8. Step 700

    700 (this color)

    #7E4978

    oklch(48.5% 0.097 331.1)

  9. Step 800

    800

    #683E63

    oklch(42.8% 0.08 331.2)

  10. Step 900

    900

    #553551

    oklch(37.8% 0.063 331.2)

  11. Step 950

    950

    #321F2F

    oklch(27% 0.04 332.3)

Export this scale for Tailwind in the Tailwind colors tool

#7E4978 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)#47577A0.095
Deuteranopia (no green cones)#555E760.086
Tritanopia (no blue cones)#824D5B0.052
Achromatopsia (no color)#5B5B5B0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E4978

    #7E4978

    oklch(48.5% 0.097 331.1)

  • #2E6E42

    #2E6E42

    oklch(48.4% 0.097 151.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E4978

    #7E4978

    oklch(48.5% 0.097 331.1)

  • #69518D

    #69518D

    oklch(48.6% 0.097 301.3)

  • #8B455B

    #8B455B

    oklch(48.4% 0.098 1.4)

Open the analogous palette in the generator

Split complementary

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

  • #7E4978

    #7E4978

    oklch(48.5% 0.097 331.1)

  • #576720

    #576720

    oklch(48.5% 0.097 121)

  • #006F62

    #006F62

    oklch(48.6% 0.088 181)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E4978

    #7E4978

    oklch(48.5% 0.097 331.1)

  • #735C05

    #735C05

    oklch(48.4% 0.097 91.4)

  • #006B7A

    #006B7A

    oklch(48.4% 0.084 211.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E4978

    #7E4978

    oklch(48.5% 0.097 331.1)

  • #86501B

    #86501B

    oklch(48.4% 0.098 60.7)

  • #2E6E42

    #2E6E42

    oklch(48.4% 0.097 151.4)

  • #1F6591

    #1F6591

    oklch(48.5% 0.098 241.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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