#7D406C

Closest named color: Dark Mauve (#874C62). oklch(46.3% 0.102 338.7), rgb(125, 64, 108).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.102)
Temperaturewarm
Nearest nameDark Mauve (#874C62)
Black text2.82:1
White text7.44:1

Values

HEX#7D406C
RGBrgb(125, 64, 108)
HSLhsl(317, 32%, 37%)
OKLCHoklch(46.3% 0.102 338.7)

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 #7D406C 7.44:1 AAA Lc -90.4 Preferred for body text
Black text on #7D406C 2.82:1 Fails Lc 18.5 Dividers and decoration only
#7D406C text on white 7.44:1 AAA Lc 85.6 Fine for body text
#7D406C text on black 2.82:1 Fails Lc -16.5 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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F1E6ED

    oklch(93.6% 0.015 338.9)

  3. Step 200

    200

    #E6D2DF

    oklch(88.4% 0.028 338.6)

  4. Step 300

    300

    #D7B5CB

    oklch(80.9% 0.049 339.3)

  5. Step 400

    400

    #C28EB1

    oklch(70.8% 0.078 339.1)

  6. Step 500

    500

    #B2719E

    oklch(63.2% 0.101 339)

  7. Step 600

    600

    #9D5889

    oklch(55.7% 0.111 338.8)

  8. Step 700

    700 (this color)

    #7D406C

    oklch(46.3% 0.102 338.7)

  9. Step 800

    800

    #6D3B5F

    oklch(42.7% 0.086 338.4)

  10. Step 900

    900

    #58334D

    oklch(37.6% 0.066 338.8)

  11. Step 950

    950

    #341E2D

    oklch(27% 0.042 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#7D406C 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)#424F6E0.105
Deuteranopia (no green cones)#52596A0.097
Tritanopia (no blue cones)#8342510.048
Achromatopsia (no color)#5555550.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D406C

    #7D406C

    oklch(46.3% 0.102 338.7)

  • #0D6A43

    #0D6A43

    oklch(46.4% 0.103 158.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D406C

    #7D406C

    oklch(46.3% 0.102 338.7)

  • #694784

    #694784

    oklch(46.2% 0.103 308.6)

  • #883D4D

    #883D4D

    oklch(46.3% 0.104 8.6)

Open the analogous palette in the generator

Split complementary

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

  • #7D406C

    #7D406C

    oklch(46.3% 0.102 338.7)

  • #47631D

    #47631D

    oklch(46.2% 0.102 128.6)

  • #006762

    #006762

    oklch(46.3% 0.08 189)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D406C

    #7D406C

    oklch(46.3% 0.102 338.7)

  • #675900

    #675900

    oklch(46.4% 0.096 98.6)

  • #006378

    #006378

    oklch(46.2% 0.084 219)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D406C

    #7D406C

    oklch(46.3% 0.102 338.7)

  • #7D4C00

    #7D4C00

    oklch(46.2% 0.101 68.2)

  • #0D6A43

    #0D6A43

    oklch(46.4% 0.103 158.6)

  • #225C8F

    #225C8F

    oklch(46.3% 0.102 248.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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