#7F4871

Closest named color: Dark Mauve (#874C62). oklch(48.1% 0.093 337.1), rgb(127, 72, 113).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.093)
Temperaturewarm
Nearest nameDark Mauve (#874C62)
Black text3.06:1
White text6.84:1

Values

HEX#7F4871
RGBrgb(127, 72, 113)
HSLhsl(315, 28%, 39%)
OKLCHoklch(48.1% 0.093 337.1)

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 #7F4871 6.84:1 AA Lc -88.4 Fine for body text
Black text on #7F4871 3.06:1 AA large text Lc 20.6 Dividers and decoration only
#7F4871 text on white 6.84:1 AA Lc 83.4 Fine for body text
#7F4871 text on black 3.06:1 AA large text Lc -18.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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #F0E7ED

    oklch(93.7% 0.013 337.5)

  3. Step 200

    200

    #E5D3DF

    oklch(88.5% 0.025 337.8)

  4. Step 300

    300

    #D5B6CB

    oklch(80.9% 0.045 337.9)

  5. Step 400

    400

    #BF90B1

    oklch(70.8% 0.072 337.6)

  6. Step 500

    500

    #AE739E

    oklch(63.1% 0.094 337.2)

  7. Step 600

    600

    #985B89

    oklch(55.5% 0.101 336.5)

  8. Step 700

    700 (this color)

    #7F4871

    oklch(48.1% 0.093 337.1)

  9. Step 800

    800

    #6A3E5E

    oklch(42.8% 0.077 337.7)

  10. Step 900

    900

    #56354D

    oklch(37.7% 0.06 337.4)

  11. Step 950

    950

    #321F2D

    oklch(26.9% 0.038 336.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F4871 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)#4955720.095
Deuteranopia (no green cones)#575E6F0.088
Tritanopia (no blue cones)#844A570.045
Achromatopsia (no color)#5A5A5A0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F4871

    #7F4871

    oklch(48.1% 0.093 337.1)

  • #266D48

    #266D48

    oklch(48% 0.093 157.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F4871

    #7F4871

    oklch(48.1% 0.093 337.1)

  • #6C4F87

    #6C4F87

    oklch(48.2% 0.093 307.1)

  • #894655

    #894655

    oklch(48.1% 0.092 6.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F4871

    #7F4871

    oklch(48.1% 0.093 337.1)

  • #4F6729

    #4F6729

    oklch(48% 0.093 127.3)

  • #006D66

    #006D66

    oklch(48.2% 0.084 187.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F4871

    #7F4871

    oklch(48.1% 0.093 337.1)

  • #6D5E0F

    #6D5E0F

    oklch(48.3% 0.094 97.4)

  • #00697E

    #00697E

    oklch(48.1% 0.086 217.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F4871

    #7F4871

    oklch(48.1% 0.093 337.1)

  • #815219

    #815219

    oklch(48.1% 0.094 66.6)

  • #266D48

    #266D48

    oklch(48% 0.093 157.1)

  • #2C6290

    #2C6290

    oklch(48.2% 0.094 247)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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