#873D71

Closest named color: Light Eggplant (#894585). oklch(47.5% 0.121 340.2), rgb(135, 61, 113).

Aa

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

About this color

#873D71 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 47%, its chroma 0.121 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.15:1.

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

Values

HEX#873D71
RGBrgb(135, 61, 113)
HSLhsl(318, 38%, 38%)
OKLCHoklch(47.5% 0.121 340.2)

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 #873D71 7.15:1 AAA Lc -89.3 Fine for body text
Black text on #873D71 2.93:1 Fails Lc 19.7 Dividers and decoration only
#873D71 text on white 7.15:1 AAA Lc 84.4 Fine for body text
#873D71 text on black 2.93:1 Fails Lc -17.6 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

    #DBB2CC

    oklch(80.8% 0.058 340.2)

  5. Step 400

    400

    #C88AB3

    oklch(70.8% 0.093 340)

  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)

    #873D71

    oklch(47.5% 0.121 340.2)

  9. Step 800

    800

    #723760

    oklch(42.8% 0.099 340.2)

  10. Step 900

    900

    #5C304E

    oklch(37.7% 0.077 340.3)

  11. Step 950

    950

    #361C2E

    oklch(26.9% 0.05 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#873D71 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)#4150730.126
Deuteranopia (no green cones)#555C6F0.114
Tritanopia (no blue cones)#8E3E520.054
Achromatopsia (no color)#5858580.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #873D71

    #873D71

    oklch(47.5% 0.121 340.2)

  • #006E47

    #006E47

    oklch(47.5% 0.107 160.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #873D71

    #873D71

    oklch(47.5% 0.121 340.2)

  • #71468E

    #71468E

    oklch(47.5% 0.12 310.1)

  • #933A4C

    #933A4C

    oklch(47.6% 0.121 10.5)

Open the analogous palette in the generator

Split complementary

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

  • #873D71

    #873D71

    oklch(47.5% 0.121 340.2)

  • #44690F

    #44690F

    oklch(47.5% 0.121 130.5)

  • #006B66

    #006B66

    oklch(47.6% 0.082 189.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #873D71

    #873D71

    oklch(47.5% 0.121 340.2)

  • #695D00

    #695D00

    oklch(47.5% 0.099 100.6)

  • #00677E

    #00677E

    oklch(47.5% 0.087 220.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #873D71

    #873D71

    oklch(47.5% 0.121 340.2)

  • #805000

    #805000

    oklch(47.5% 0.103 70.2)

  • #006E47

    #006E47

    oklch(47.5% 0.107 160.2)

  • #185E9D

    #185E9D

    oklch(47.4% 0.122 250.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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