#873C99

Closest named color: Warm Purple (#952E8F). oklch(49.4% 0.159 319.5), rgb(135, 60, 153).

Aa

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

About this color

#873C99 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.159 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.037 away. White text reads best on it, at 6.69:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.159)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.13:1
White text6.69:1

Values

HEX#873C99
RGBrgb(135, 60, 153)
HSLhsl(288, 44%, 42%)
OKLCHoklch(49.4% 0.159 319.5)

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 #873C99 6.69:1 AA Lc -87.5 Fine for body text
Black text on #873C99 3.13:1 AA large text Lc 21.6 Dividers and decoration only
#873C99 text on white 6.69:1 AA Lc 82.5 Fine for body text
#873C99 text on black 3.13:1 AA large text Lc -19.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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F3

    oklch(93.5% 0.023 321.4)

  3. Step 200

    200

    #E6D1EB

    oklch(88.6% 0.042 319.7)

  4. Step 300

    300

    #D7B1E0

    oklch(80.9% 0.077 319.8)

  5. Step 400

    400

    #C287D1

    oklch(70.8% 0.123 319.3)

  6. Step 500

    500

    #B266C4

    oklch(63.1% 0.157 319.7)

  7. Step 600

    600

    #9D4BB1

    oklch(55.7% 0.171 319.4)

  8. Step 700

    700 (this color)

    #873C99

    oklch(49.4% 0.159 319.5)

  9. Step 800

    800

    #6D327B

    oklch(42.8% 0.131 319.6)

  10. Step 900

    900

    #582D63

    oklch(37.7% 0.101 319.2)

  11. Step 950

    950

    #341B3A

    oklch(27.1% 0.064 319.6)

Export this scale for Tailwind in the Tailwind colors tool

#873C99 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)#26579C0.152
Deuteranopia (no green cones)#425F970.134
Tritanopia (no blue cones)#874B650.099
Achromatopsia (no color)#5C5C5C0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #873C99

    #873C99

    oklch(49.4% 0.159 319.5)

  • #257500

    #257500

    oklch(49.4% 0.157 139.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #873C99

    #873C99

    oklch(49.4% 0.159 319.5)

  • #634BB4

    #634BB4

    oklch(49.4% 0.159 289.8)

  • #9F306F

    #9F306F

    oklch(49.5% 0.159 349.5)

Open the analogous palette in the generator

Split complementary

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

  • #873C99

    #873C99

    oklch(49.4% 0.159 319.5)

  • #666600

    #666600

    oklch(49.4% 0.108 109.8)

  • #007358

    #007358

    oklch(49.4% 0.099 169.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #873C99

    #873C99

    oklch(49.4% 0.159 319.5)

  • #805A00

    #805A00

    oklch(49.5% 0.103 80)

  • #007074

    #007074

    oklch(49.5% 0.084 199.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #873C99

    #873C99

    oklch(49.4% 0.159 319.5)

  • #9A4500

    #9A4500

    oklch(49.3% 0.132 49.3)

  • #257500

    #257500

    oklch(49.4% 0.157 139.4)

  • #006B8E

    #006B8E

    oklch(49.4% 0.098 229.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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