#7F4D74

Closest named color: Dark Mauve (#874C62). oklch(49.1% 0.087 335.3), rgb(127, 77, 116).

Aa

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

About this color

#7F4D74 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.087 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mauve (#874C62), ΔE 0.032 away. White text reads best on it, at 6.52:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.087)
Temperaturewarm
Nearest nameDark Mauve (#874C62)
Black text3.21:1
White text6.52:1

Values

HEX#7F4D74
RGBrgb(127, 77, 116)
HSLhsl(313, 25%, 40%)
OKLCHoklch(49.1% 0.087 335.3)

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 #7F4D74 6.52:1 AA Lc -87.3 Fine for body text
Black text on #7F4D74 3.21:1 AA large text Lc 21.9 Dividers and decoration only
#7F4D74 text on white 6.52:1 AA Lc 82.2 Fine for body text
#7F4D74 text on black 3.21:1 AA large text Lc -19.7 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

    #EFE7ED

    oklch(93.6% 0.012 334.1)

  3. Step 200

    200

    #E4D4DF

    oklch(88.6% 0.023 336.9)

  4. Step 300

    300

    #D3B7CB

    oklch(80.9% 0.042 336.2)

  5. Step 400

    400

    #BC91B1

    oklch(70.7% 0.067 335.6)

  6. Step 500

    500

    #AA769E

    oklch(63.2% 0.085 335.2)

  7. Step 600

    600

    #955E89

    oklch(55.7% 0.093 335.1)

  8. Step 700

    700 (this color)

    #7F4D74

    oklch(49.1% 0.087 335.3)

  9. Step 800

    800

    #673F5E

    oklch(42.6% 0.072 335.4)

  10. Step 900

    900

    #54364D

    oklch(37.7% 0.055 335.5)

  11. Step 950

    950

    #31202D

    oklch(27% 0.034 335.2)

Export this scale for Tailwind in the Tailwind colors tool

#7F4D74 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)#4D59750.087
Deuteranopia (no green cones)#5A60730.078
Tritanopia (no blue cones)#844F5B0.044
Achromatopsia (no color)#5E5E5E0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F4D74

    #7F4D74

    oklch(49.1% 0.087 335.3)

  • #326F4B

    #326F4B

    oklch(49.1% 0.086 155.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F4D74

    #7F4D74

    oklch(49.1% 0.087 335.3)

  • #6C5388

    #6C5388

    oklch(49% 0.087 305.1)

  • #894B5A

    #894B5A

    oklch(49.1% 0.085 5.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F4D74

    #7F4D74

    oklch(49.1% 0.087 335.3)

  • #55692F

    #55692F

    oklch(49% 0.087 125.2)

  • #007067

    #007067

    oklch(49% 0.086 185.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F4D74

    #7F4D74

    oklch(49.1% 0.087 335.3)

  • #70601D

    #70601D

    oklch(49.1% 0.087 95.4)

  • #016D80

    #016D80

    oklch(49.2% 0.087 215.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F4D74

    #7F4D74

    oklch(49.1% 0.087 335.3)

  • #825625

    #825625

    oklch(49.2% 0.087 66.1)

  • #326F4B

    #326F4B

    oklch(49.1% 0.086 155.4)

  • #32658F

    #32658F

    oklch(49.1% 0.087 245.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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