#873C7F

Closest named color: Light Eggplant (#894585). oklch(48% 0.134 331.7), rgb(135, 60, 127).

Aa

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

About this color

#873C7F is a medium-dark, moderately saturated purple. In OKLCH its lightness is 48%, its chroma 0.134 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.021 away. White text reads best on it, at 7.03:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text2.98:1
White text7.03:1

Values

HEX#873C7F
RGBrgb(135, 60, 127)
HSLhsl(306, 38%, 38%)
OKLCHoklch(48% 0.134 331.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 #873C7F 7.03:1 AAA Lc -88.9 Fine for body text
Black text on #873C7F 2.98:1 Fails Lc 20.1 Dividers and decoration only
#873C7F text on white 7.03:1 AAA Lc 83.9 Fine for body text
#873C7F text on black 2.98:1 Fails Lc -18.1 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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E6F0

    oklch(93.7% 0.018 331.1)

  3. Step 200

    200

    #E8D1E4

    oklch(88.5% 0.036 331.6)

  4. Step 300

    300

    #DAB2D4

    oklch(80.9% 0.065 331.2)

  5. Step 400

    400

    #C788BE

    oklch(70.7% 0.105 331.8)

  6. Step 500

    500

    #B769AD

    oklch(63.1% 0.132 331.8)

  7. Step 600

    600

    #A24F99

    oklch(55.6% 0.144 331.5)

  8. Step 700

    700 (this color)

    #873C7F

    oklch(48% 0.134 331.7)

  9. Step 800

    800

    #71356A

    oklch(42.8% 0.111 331.9)

  10. Step 900

    900

    #5B2F56

    oklch(37.7% 0.085 331.4)

  11. Step 950

    950

    #361C32

    oklch(27.1% 0.054 332.8)

Export this scale for Tailwind in the Tailwind colors tool

#873C7F 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)#3952810.136
Deuteranopia (no green cones)#505D7D0.121
Tritanopia (no blue cones)#8C42580.071
Achromatopsia (no color)#5959590.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #873C7F

    #873C7F

    oklch(48% 0.134 331.7)

  • #007136

    #007136

    oklch(48% 0.128 151.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #873C7F

    #873C7F

    oklch(48% 0.134 331.7)

  • #6C479C

    #6C479C

    oklch(48% 0.135 301.6)

  • #973658

    #973658

    oklch(48% 0.134 1.8)

Open the analogous palette in the generator

Split complementary

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

  • #873C7F

    #873C7F

    oklch(48% 0.134 331.7)

  • #536700

    #536700

    oklch(48% 0.116 121.9)

  • #006D61

    #006D61

    oklch(48% 0.086 181.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #873C7F

    #873C7F

    oklch(48% 0.134 331.7)

  • #725B00

    #725B00

    oklch(48.1% 0.098 91.6)

  • #006A79

    #006A79

    oklch(48.1% 0.084 211.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #873C7F

    #873C7F

    oklch(48% 0.134 331.7)

  • #894C00

    #894C00

    oklch(47.9% 0.111 61.3)

  • #007136

    #007136

    oklch(48% 0.128 151.5)

  • #006397

    #006397

    oklch(47.9% 0.113 241.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #873C7F 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.