#873C71

Closest named color: Light Eggplant (#894585). oklch(47.3% 0.122 340.1), rgb(135, 60, 113).

Aa

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

About this color

#873C71 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 47%, its chroma 0.122 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.034 away. White text reads best on it, at 7.20:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.122)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text2.91:1
White text7.20:1

Values

HEX#873C71
RGBrgb(135, 60, 113)
HSLhsl(318, 38%, 38%)
OKLCHoklch(47.3% 0.122 340.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 #873C71 7.20:1 AAA Lc -89.5 Fine for body text
Black text on #873C71 2.91:1 Fails Lc 19.5 Dividers and decoration only
#873C71 text on white 7.20:1 AAA Lc 84.5 Fine for body text
#873C71 text on black 2.91:1 Fails Lc -17.4 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

    #F9F3F7

    oklch(97% 0.008 337.4)

  2. Step 100

    100

    #F2E6ED

    oklch(93.6% 0.016 341.4)

  3. Step 200

    200

    #E9D1E0

    oklch(88.5% 0.033 339.9)

  4. Step 300

    300

    #DCB2CD

    oklch(80.9% 0.06 339.8)

  5. Step 400

    400

    #C989B3

    oklch(70.7% 0.095 340.3)

  6. Step 500

    500

    #B96BA0

    oklch(63.1% 0.12 340.2)

  7. Step 600

    600

    #A4518B

    oklch(55.6% 0.131 340)

  8. Step 700

    700 (this color)

    #873C71

    oklch(47.3% 0.122 340.1)

  9. Step 800

    800

    #723660

    oklch(42.6% 0.101 340)

  10. Step 900

    900

    #5D2F4F

    oklch(37.7% 0.08 339.8)

  11. Step 950

    950

    #361C2E

    oklch(26.9% 0.05 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#873C71 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)#4050730.128
Deuteranopia (no green cones)#555C6F0.116
Tritanopia (no blue cones)#8E3E510.056
Achromatopsia (no color)#5757570.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #873C71

    #873C71

    oklch(47.3% 0.122 340.1)

  • #006D46

    #006D46

    oklch(47.2% 0.107 160.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #873C71

    #873C71

    oklch(47.3% 0.122 340.1)

  • #71458E

    #71458E

    oklch(47.3% 0.122 310.4)

  • #93394C

    #93394C

    oklch(47.4% 0.122 10.1)

Open the analogous palette in the generator

Split complementary

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

  • #873C71

    #873C71

    oklch(47.3% 0.122 340.1)

  • #44680B

    #44680B

    oklch(47.2% 0.122 129.9)

  • #006A66

    #006A66

    oklch(47.3% 0.082 190.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #873C71

    #873C71

    oklch(47.3% 0.122 340.1)

  • #695C00

    #695C00

    oklch(47.3% 0.098 99.7)

  • #00667D

    #00667D

    oklch(47.2% 0.086 220.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #873C71

    #873C71

    oklch(47.3% 0.122 340.1)

  • #805000

    #805000

    oklch(47.5% 0.103 70.2)

  • #006D46

    #006D46

    oklch(47.2% 0.107 160.1)

  • #155E9D

    #155E9D

    oklch(47.3% 0.122 250)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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