#873271

Closest named color: Light Eggplant (#894585). oklch(46% 0.139 339.1), rgb(135, 50, 113).

Aa

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

About this color

#873271 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 46%, its chroma 0.139 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.047 away. White text reads best on it, at 7.70:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.139)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text2.72:1
White text7.70:1

Values

HEX#873271
RGBrgb(135, 50, 113)
HSLhsl(316, 46%, 36%)
OKLCHoklch(46% 0.139 339.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 #873271 7.70:1 AAA Lc -90.9 Preferred for body text
Black text on #873271 2.72:1 Fails Lc 17.9 Dividers and decoration only
#873271 text on white 7.70:1 AAA Lc 86.1 Fine for body text
#873271 text on black 2.72:1 Fails Lc -16.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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F3E5EE

    oklch(93.6% 0.019 338.7)

  3. Step 200

    200

    #EBD0E1

    oklch(88.5% 0.037 339.8)

  4. Step 300

    300

    #DFB0CF

    oklch(80.9% 0.068 339.2)

  5. Step 400

    400

    #CD86B7

    oklch(70.8% 0.107 339)

  6. Step 500

    500

    #BE66A5

    oklch(63.2% 0.137 338.9)

  7. Step 600

    600

    #A94B90

    oklch(55.6% 0.149 338.8)

  8. Step 700

    700 (this color)

    #873271

    oklch(46% 0.139 339.1)

  9. Step 800

    800

    #763263

    oklch(42.8% 0.114 339.5)

  10. Step 900

    900

    #5F2C51

    oklch(37.6% 0.09 338.8)

  11. Step 950

    950

    #381B2F

    oklch(27.1% 0.055 339.9)

Export this scale for Tailwind in the Tailwind colors tool

#873271 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)#364A730.148
Deuteranopia (no green cones)#4F586F0.131
Tritanopia (no blue cones)#8E354D0.064
Achromatopsia (no color)#5353530.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #873271

    #873271

    oklch(46% 0.139 339.1)

  • #006942

    #006942

    oklch(45.9% 0.105 159.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #873271

    #873271

    oklch(46% 0.139 339.1)

  • #6F3D91

    #6F3D91

    oklch(46% 0.138 309.5)

  • #942D47

    #942D47

    oklch(46% 0.138 9.3)

Open the analogous palette in the generator

Split complementary

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

  • #873271

    #873271

    oklch(46% 0.139 339.1)

  • #426400

    #426400

    oklch(45.9% 0.122 129)

  • #006661

    #006661

    oklch(46% 0.08 188.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #873271

    #873271

    oklch(46% 0.139 339.1)

  • #655800

    #655800

    oklch(45.9% 0.095 99.3)

  • #006277

    #006277

    oklch(45.9% 0.083 219.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #873271

    #873271

    oklch(46% 0.139 339.1)

  • #7B4C00

    #7B4C00

    oklch(46% 0.1 69.5)

  • #006942

    #006942

    oklch(45.9% 0.105 159.3)

  • #005A9B

    #005A9B

    oklch(45.9% 0.128 249.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #873271.

Similar named colors

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

Use #873271 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.