#7F4166

Closest named color: Dark Mauve (#874C62). oklch(46.5% 0.098 344.8), rgb(127, 65, 102).

Aa

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

About this color

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

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

Values

HEX#7F4166
RGBrgb(127, 65, 102)
HSLhsl(324, 32%, 38%)
OKLCHoklch(46.5% 0.098 344.8)

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 #7F4166 7.36:1 AAA Lc -90.2 Preferred for body text
Black text on #7F4166 2.85:1 Fails Lc 18.7 Dividers and decoration only
#7F4166 text on white 7.36:1 AAA Lc 85.3 Fine for body text
#7F4166 text on black 2.85:1 Fails Lc -16.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

    #F9F4F6

    oklch(97.2% 0.006 350.8)

  2. Step 100

    100

    #F1E6EC

    oklch(93.5% 0.014 343.2)

  3. Step 200

    200

    #E7D3DD

    oklch(88.6% 0.026 345.9)

  4. Step 300

    300

    #D8B5C8

    oklch(80.9% 0.047 344.4)

  5. Step 400

    400

    #C38EAC

    oklch(70.7% 0.075 344.2)

  6. Step 500

    500

    #B37197

    oklch(63.1% 0.097 344.7)

  7. Step 600

    600

    #9E5982

    oklch(55.7% 0.105 344.5)

  8. Step 700

    700 (this color)

    #7F4166

    oklch(46.5% 0.098 344.8)

  9. Step 800

    800

    #6E3C59

    oklch(42.8% 0.08 345.3)

  10. Step 900

    900

    #593349

    oklch(37.6% 0.063 344.9)

  11. Step 950

    950

    #341E2B

    oklch(26.9% 0.04 343.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F4166 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)#464F670.103
Deuteranopia (no green cones)#565A640.095
Tritanopia (no blue cones)#86414F0.040
Achromatopsia (no color)#5656560.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F4166

    #7F4166

    oklch(46.5% 0.098 344.8)

  • #016A4B

    #016A4B

    oklch(46.5% 0.098 164.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F4166

    #7F4166

    oklch(46.5% 0.098 344.8)

  • #6E477F

    #6E477F

    oklch(46.5% 0.098 315)

  • #874048

    #874048

    oklch(46.5% 0.097 14.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F4166

    #7F4166

    oklch(46.5% 0.098 344.8)

  • #416529

    #416529

    oklch(46.5% 0.098 134.5)

  • #006767

    #006767

    oklch(46.5% 0.079 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F4166

    #7F4166

    oklch(46.5% 0.098 344.8)

  • #625C02

    #625C02

    oklch(46.6% 0.098 105.1)

  • #00637E

    #00637E

    oklch(46.5% 0.088 224.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F4166

    #7F4166

    oklch(46.5% 0.098 344.8)

  • #795001

    #795001

    oklch(46.5% 0.098 74.8)

  • #016A4B

    #016A4B

    oklch(46.5% 0.098 164.7)

  • #305B8F

    #305B8F

    oklch(46.6% 0.098 254.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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