#7F4991

Closest named color: Light Eggplant (#894585). oklch(49.8% 0.125 317.2), rgb(127, 73, 145).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.26:1
White text6.43:1

Values

HEX#7F4991
RGBrgb(127, 73, 145)
HSLhsl(285, 33%, 43%)
OKLCHoklch(49.8% 0.125 317.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 #7F4991 6.43:1 AA Lc -86.8 Fine for body text
Black text on #7F4991 3.26:1 AA large text Lc 22.4 Dividers and decoration only
#7F4991 text on white 6.43:1 AA Lc 81.7 Fine for body text
#7F4991 text on black 3.26:1 AA large text Lc -20.2 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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E2D3E8

    oklch(88.5% 0.033 316.4)

  4. Step 300

    300

    #D1B5DB

    oklch(80.9% 0.061 317.1)

  5. Step 400

    400

    #B98EC9

    oklch(70.8% 0.096 316.7)

  6. Step 500

    500

    #A870BA

    oklch(63.1% 0.124 317.7)

  7. Step 600

    600

    #9357A6

    oklch(55.6% 0.134 317.6)

  8. Step 700

    700 (this color)

    #7F4991

    oklch(49.8% 0.125 317.2)

  9. Step 800

    800

    #653B74

    oklch(42.7% 0.103 316.7)

  10. Step 900

    900

    #53335E

    oklch(37.8% 0.081 317.1)

  11. Step 950

    950

    #301E37

    oklch(26.9% 0.051 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F4991 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)#3B5B930.111
Deuteranopia (no green cones)#4B608F0.099
Tritanopia (no blue cones)#7F53660.081
Achromatopsia (no color)#5F5F5F0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F4991

    #7F4991

    oklch(49.8% 0.125 317.2)

  • #3D7223

    #3D7223

    oklch(49.7% 0.124 137)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F4991

    #7F4991

    oklch(49.8% 0.125 317.2)

  • #6055A5

    #6055A5

    oklch(49.9% 0.124 287.3)

  • #944170

    #944170

    oklch(49.9% 0.125 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #7F4991

    #7F4991

    oklch(49.8% 0.125 317.2)

  • #6A6600

    #6A6600

    oklch(49.8% 0.107 107)

  • #007557

    #007557

    oklch(49.9% 0.102 167.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F4991

    #7F4991

    oklch(49.8% 0.125 317.2)

  • #835A00

    #835A00

    oklch(49.9% 0.104 77.9)

  • #007174

    #007174

    oklch(49.8% 0.085 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F4991

    #7F4991

    oklch(49.8% 0.125 317.2)

  • #9A4816

    #9A4816

    oklch(49.9% 0.125 47.3)

  • #3D7223

    #3D7223

    oklch(49.7% 0.124 137)

  • #006D8D

    #006D8D

    oklch(49.9% 0.096 226.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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