#7B4972

Closest named color: Dark Mauve (#874C62). oklch(47.8% 0.089 333.7), rgb(123, 73, 114).

Aa

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

About this color

#7B4972 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 48%, its chroma 0.089 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Mauve (#874C62), ΔE 0.038 away. White text reads best on it, at 6.91:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameDark Mauve (#874C62)
Black text3.03:1
White text6.91:1

Values

HEX#7B4972
RGBrgb(123, 73, 114)
HSLhsl(311, 26%, 38%)
OKLCHoklch(47.8% 0.089 333.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 #7B4972 6.91:1 AA Lc -88.7 Fine for body text
Black text on #7B4972 3.03:1 AA large text Lc 20.3 Dividers and decoration only
#7B4972 text on white 6.91:1 AA Lc 83.7 Fine for body text
#7B4972 text on black 3.03:1 AA large text Lc -18.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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #EFE7ED

    oklch(93.6% 0.012 334.1)

  3. Step 200

    200

    #E3D4E0

    oklch(88.6% 0.023 332.4)

  4. Step 300

    300

    #D3B7CC

    oklch(81% 0.043 334.7)

  5. Step 400

    400

    #BC91B3

    oklch(70.8% 0.069 333.8)

  6. Step 500

    500

    #AA75A0

    oklch(63.1% 0.088 333.5)

  7. Step 600

    600

    #955D8B

    oklch(55.6% 0.096 333.5)

  8. Step 700

    700 (this color)

    #7B4972

    oklch(47.8% 0.089 333.7)

  9. Step 800

    800

    #673F60

    oklch(42.7% 0.074 333.3)

  10. Step 900

    900

    #54364E

    oklch(37.7% 0.056 334.1)

  11. Step 950

    950

    #31202E

    oklch(27% 0.035 332.9)

Export this scale for Tailwind in the Tailwind colors tool

#7B4972 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)#4955740.087
Deuteranopia (no green cones)#555D700.082
Tritanopia (no blue cones)#7F4C580.046
Achromatopsia (no color)#5A5A5A0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B4972

    #7B4972

    oklch(47.8% 0.089 333.7)

  • #2F6C45

    #2F6C45

    oklch(48% 0.09 153.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B4972

    #7B4972

    oklch(47.8% 0.089 333.7)

  • #685086

    #685086

    oklch(47.9% 0.089 303.7)

  • #864658

    #864658

    oklch(47.8% 0.089 3.1)

Open the analogous palette in the generator

Split complementary

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

  • #7B4972

    #7B4972

    oklch(47.8% 0.089 333.7)

  • #536528

    #536528

    oklch(47.8% 0.089 123.5)

  • #006C62

    #006C62

    oklch(47.7% 0.085 183.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B4972

    #7B4972

    oklch(47.8% 0.089 333.7)

  • #6E5C15

    #6E5C15

    oklch(47.9% 0.089 94)

  • #00697A

    #00697A

    oklch(47.9% 0.084 213.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B4972

    #7B4972

    oklch(47.8% 0.089 333.7)

  • #805120

    #805120

    oklch(47.9% 0.089 63.6)

  • #2F6C45

    #2F6C45

    oklch(48% 0.09 153.3)

  • #2A628B

    #2A628B

    oklch(47.8% 0.089 243.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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