#871A68

Closest named color: Red Violet (#9E0168). oklch(43.2% 0.163 342.5), rgb(135, 26, 104).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.163)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.37:1
White text8.83:1

Values

HEX#871A68
RGBrgb(135, 26, 104)
HSLhsl(317, 68%, 32%)
OKLCHoklch(43.2% 0.163 342.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 #871A68 8.83:1 AAA Lc -93.5 Preferred for body text
Black text on #871A68 2.37:1 Fails Lc 15.1 Dividers and decoration only
#871A68 text on white 8.83:1 AAA Lc 88.9 Fine for body text
#871A68 text on black 2.37:1 Fails Lc -13.3 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

    #F3CCE3

    oklch(88.5% 0.053 342)

  4. Step 300

    300

    #ECA8D1

    oklch(80.8% 0.095 342.6)

  5. Step 400

    400

    #E077BA

    oklch(70.8% 0.152 342.7)

  6. Step 500

    500

    #D44DA9

    oklch(63.1% 0.196 342.5)

  7. Step 600

    600

    #BF2794

    oklch(55.6% 0.212 342.5)

  8. Step 700

    700

    #A4177E

    oklch(49.1% 0.197 342.5)

  9. Step 800

    800 (this color)

    #871A68

    oklch(43.2% 0.163 342.5)

  10. Step 900

    900

    #6C1D54

    oklch(37.8% 0.128 342.4)

  11. Step 950

    950

    #3F1331

    oklch(27% 0.08 342.1)

Export this scale for Tailwind in the Tailwind colors tool

#871A68 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)#263F6A0.182
Deuteranopia (no green cones)#4951660.157
Tritanopia (no blue cones)#901B3F0.073
Achromatopsia (no color)#4A4A4A0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #871A68

    #871A68

    oklch(43.2% 0.163 342.5)

  • #006040

    #006040

    oklch(43.2% 0.095 162)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #871A68

    #871A68

    oklch(43.2% 0.163 342.5)

  • #6E2A8F

    #6E2A8F

    oklch(43.2% 0.164 312.4)

  • #940F37

    #940F37

    oklch(43.1% 0.163 12.3)

Open the analogous palette in the generator

Split complementary

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

  • #871A68

    #871A68

    oklch(43.2% 0.163 342.5)

  • #355D00

    #355D00

    oklch(43.2% 0.121 132.4)

  • #005D5B

    #005D5B

    oklch(43.2% 0.074 192.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #871A68

    #871A68

    oklch(43.2% 0.163 342.5)

  • #5A5200

    #5A5200

    oklch(43.3% 0.091 103)

  • #005970

    #005970

    oklch(43.1% 0.08 223.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #871A68

    #871A68

    oklch(43.2% 0.163 342.5)

  • #6F4700

    #6F4700

    oklch(43.3% 0.092 72.7)

  • #006040

    #006040

    oklch(43.2% 0.095 162)

  • #005095

    #005095

    oklch(43.1% 0.131 252.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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