#7F4D7C

Closest named color: Light Eggplant (#894585). oklch(49.5% 0.094 329), rgb(127, 77, 124).

Aa

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

About this color

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

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

Values

HEX#7F4D7C
RGBrgb(127, 77, 124)
HSLhsl(304, 25%, 40%)
OKLCHoklch(49.5% 0.094 329)

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 #7F4D7C 6.45:1 AA Lc -86.9 Fine for body text
Black text on #7F4D7C 3.25:1 AA large text Lc 22.2 Dividers and decoration only
#7F4D7C text on white 6.45:1 AA Lc 81.8 Fine for body text
#7F4D7C 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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #EFE7EE

    oklch(93.6% 0.013 329.6)

  3. Step 200

    200

    #E3D3E1

    oklch(88.4% 0.026 329.8)

  4. Step 300

    300

    #D2B7CF

    oklch(81% 0.045 329.6)

  5. Step 400

    400

    #BB91B7

    oklch(70.8% 0.072 329.5)

  6. Step 500

    500

    #A975A5

    oklch(63.2% 0.093 329.3)

  7. Step 600

    600

    #945D90

    oklch(55.7% 0.1 329.4)

  8. Step 700

    700 (this color)

    #7F4D7C

    oklch(49.5% 0.094 329)

  9. Step 800

    800

    #663F64

    oklch(42.7% 0.077 328.6)

  10. Step 900

    900

    #533551

    oklch(37.5% 0.061 329)

  11. Step 950

    950

    #311F30

    oklch(26.9% 0.04 328.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F4D7C 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)#4A5A7E0.090
Deuteranopia (no green cones)#57617A0.083
Tritanopia (no blue cones)#82515F0.052
Achromatopsia (no color)#5E5E5E0.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F4D7C

    #7F4D7C

    oklch(49.5% 0.094 329)

  • #367043

    #367043

    oklch(49.3% 0.094 149.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F4D7C

    #7F4D7C

    oklch(49.5% 0.094 329)

  • #695590

    #695590

    oklch(49.5% 0.094 298.5)

  • #8C4960

    #8C4960

    oklch(49.4% 0.094 359.3)

Open the analogous palette in the generator

Split complementary

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

  • #7F4D7C

    #7F4D7C

    oklch(49.5% 0.094 329)

  • #5C6924

    #5C6924

    oklch(49.5% 0.094 119)

  • #007263

    #007263

    oklch(49.4% 0.09 179.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F4D7C

    #7F4D7C

    oklch(49.5% 0.094 329)

  • #775E11

    #775E11

    oklch(49.4% 0.094 89.1)

  • #006F7C

    #006F7C

    oklch(49.6% 0.085 208.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F4D7C

    #7F4D7C

    oklch(49.5% 0.094 329)

  • #895324

    #895324

    oklch(49.5% 0.095 58.7)

  • #367043

    #367043

    oklch(49.3% 0.094 149.2)

  • #226891

    #226891

    oklch(49.4% 0.094 239)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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