#873C7E

Closest named color: Light Eggplant (#894585). oklch(47.9% 0.133 332.2), rgb(135, 60, 126).

Aa

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

About this color

#873C7E is a medium-dark, moderately saturated purple. In OKLCH its lightness is 48%, its chroma 0.133 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.022 away. White text reads best on it, at 7.05:1.

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

Values

HEX#873C7E
RGBrgb(135, 60, 126)
HSLhsl(307, 38%, 38%)
OKLCHoklch(47.9% 0.133 332.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 #873C7E 7.05:1 AAA Lc -88.9 Fine for body text
Black text on #873C7E 2.97:1 Fails Lc 20.1 Dividers and decoration only
#873C7E text on white 7.05:1 AAA Lc 84.0 Fine for body text
#873C7E text on black 2.97:1 Fails Lc -18.0 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

    #F2E6EF

    oklch(93.7% 0.018 334.2)

  3. Step 200

    200

    #E8D1E4

    oklch(88.5% 0.036 331.6)

  4. Step 300

    300

    #DAB2D3

    oklch(80.9% 0.064 332.2)

  5. Step 400

    400

    #C788BD

    oklch(70.7% 0.104 332.4)

  6. Step 500

    500

    #B769AC

    oklch(63.1% 0.132 332.4)

  7. Step 600

    600

    #A24F98

    oklch(55.6% 0.143 332)

  8. Step 700

    700 (this color)

    #873C7E

    oklch(47.9% 0.133 332.2)

  9. Step 800

    800

    #713569

    oklch(42.8% 0.11 332.6)

  10. Step 900

    900

    #5B2F55

    oklch(37.7% 0.084 332.3)

  11. Step 950

    950

    #361C32

    oklch(27.1% 0.054 332.8)

Export this scale for Tailwind in the Tailwind colors tool

#873C7E 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)#3A52800.135
Deuteranopia (no green cones)#505C7C0.120
Tritanopia (no blue cones)#8C42570.071
Achromatopsia (no color)#5959590.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #873C7E

    #873C7E

    oklch(47.9% 0.133 332.2)

  • #007138

    #007138

    oklch(48.1% 0.126 152.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #873C7E

    #873C7E

    oklch(47.9% 0.133 332.2)

  • #6C479B

    #6C479B

    oklch(47.9% 0.134 301.9)

  • #973657

    #973657

    oklch(48% 0.133 2.5)

Open the analogous palette in the generator

Split complementary

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

  • #873C7E

    #873C7E

    oklch(47.9% 0.133 332.2)

  • #526700

    #526700

    oklch(47.9% 0.117 122.5)

  • #006D61

    #006D61

    oklch(48% 0.086 181.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #873C7E

    #873C7E

    oklch(47.9% 0.133 332.2)

  • #715B00

    #715B00

    oklch(47.9% 0.098 92.4)

  • #006979

    #006979

    oklch(47.8% 0.084 212.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #873C7E

    #873C7E

    oklch(47.9% 0.133 332.2)

  • #884D00

    #884D00

    oklch(48% 0.11 62.7)

  • #007138

    #007138

    oklch(48.1% 0.126 152.2)

  • #006398

    #006398

    oklch(47.9% 0.115 242.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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