#871B6B

Closest named color: Red Violet (#9E0168). oklch(43.4% 0.164 341), rgb(135, 27, 107).

Aa

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

About this color

#871B6B is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.164 and its hue 341°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.048 away. White text reads best on it, at 8.75:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.164)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.39:1
White text8.75:1

Values

HEX#871B6B
RGBrgb(135, 27, 107)
HSLhsl(316, 67%, 32%)
OKLCHoklch(43.4% 0.164 341)

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 #871B6B 8.75:1 AAA Lc -93.3 Preferred for body text
Black text on #871B6B 2.39:1 Fails Lc 15.3 Dividers and decoration only
#871B6B text on white 8.75:1 AAA Lc 88.7 Fine for body text
#871B6B text on black 2.39:1 Fails Lc -13.5 Not readable

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 800.

  1. Step 50

    50

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3EF

    oklch(93.6% 0.028 342.3)

  3. Step 200

    200

    #F3CCE4

    oklch(88.5% 0.054 340.8)

  4. Step 300

    300

    #ECA8D3

    oklch(80.9% 0.097 341.2)

  5. Step 400

    400

    #DF77BD

    oklch(70.8% 0.153 341)

  6. Step 500

    500

    #D34DAC

    oklch(63.1% 0.197 341)

  7. Step 600

    600

    #BE2897

    oklch(55.6% 0.213 341.1)

  8. Step 700

    700

    #A31781

    oklch(49% 0.198 340.9)

  9. Step 800

    800 (this color)

    #871B6B

    oklch(43.4% 0.164 341)

  10. Step 900

    900

    #6B1D55

    oklch(37.7% 0.128 341.2)

  11. Step 950

    950

    #3F1332

    oklch(27% 0.081 340.9)

Export this scale for Tailwind in the Tailwind colors tool

#871B6B 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)#25406D0.183
Deuteranopia (no green cones)#4851690.157
Tritanopia (no blue cones)#901E410.076
Achromatopsia (no color)#4B4B4B0.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #871B6B

    #871B6B

    oklch(43.4% 0.164 341)

  • #00613F

    #00613F

    oklch(43.5% 0.097 160.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #871B6B

    #871B6B

    oklch(43.4% 0.164 341)

  • #6D2B91

    #6D2B91

    oklch(43.3% 0.164 311.1)

  • #950F3A

    #950F3A

    oklch(43.4% 0.164 11)

Open the analogous palette in the generator

Split complementary

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

  • #871B6B

    #871B6B

    oklch(43.4% 0.164 341)

  • #395D00

    #395D00

    oklch(43.4% 0.118 130.8)

  • #005E5B

    #005E5B

    oklch(43.5% 0.075 191)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #871B6B

    #871B6B

    oklch(43.4% 0.164 341)

  • #5C5200

    #5C5200

    oklch(43.5% 0.091 101.3)

  • #005A6F

    #005A6F

    oklch(43.3% 0.079 220.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #871B6B

    #871B6B

    oklch(43.4% 0.164 341)

  • #704600

    #704600

    oklch(43.2% 0.093 70.8)

  • #00613F

    #00613F

    oklch(43.5% 0.097 160.9)

  • #005293

    #005293

    oklch(43.4% 0.126 251)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #871B6B 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.