#87156D

Closest named color: Purple (#800080). oklch(43.1% 0.171 339.7), rgb(135, 21, 109).

Aa

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

About this color

#87156D is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.171 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Purple (#800080), ΔE 0.044 away. White text reads best on it, at 8.90:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.171)
Temperaturewarm
Nearest namePurple (#800080)
Black text2.35:1
White text8.90:1

Values

HEX#87156D
RGBrgb(135, 21, 109)
HSLhsl(314, 73%, 31%)
OKLCHoklch(43.1% 0.171 339.7)

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 #87156D 8.90:1 AAA Lc -93.5 Preferred for body text
Black text on #87156D 2.35:1 Fails Lc 15.0 Dividers and decoration only
#87156D text on white 8.90:1 AAA Lc 88.9 Fine for body text
#87156D text on black 2.35: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

    #F8E3F0

    oklch(93.6% 0.028 340)

  3. Step 200

    200

    #F3CBE5

    oklch(88.4% 0.056 339.3)

  4. Step 300

    300

    #EDA7D5

    oklch(80.9% 0.101 340.1)

  5. Step 400

    400

    #E075C0

    oklch(70.7% 0.16 339.8)

  6. Step 500

    500

    #D44AB0

    oklch(63.1% 0.204 339.7)

  7. Step 600

    600

    #BF219B

    oklch(55.5% 0.222 339.8)

  8. Step 700

    700

    #A50D85

    oklch(49.2% 0.207 339.8)

  9. Step 800

    800 (this color)

    #87156D

    oklch(43.1% 0.171 339.7)

  10. Step 900

    900

    #6C1B58

    oklch(37.8% 0.133 339.6)

  11. Step 950

    950

    #401233

    oklch(27.1% 0.084 340.5)

Export this scale for Tailwind in the Tailwind colors tool

#87156D 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)#1F3E6F0.191
Deuteranopia (no green cones)#46506B0.162
Tritanopia (no blue cones)#8F1A410.079
Achromatopsia (no color)#4A4A4A0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #87156D

    #87156D

    oklch(43.1% 0.171 339.7)

  • #00603D

    #00603D

    oklch(43.2% 0.098 160)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87156D

    #87156D

    oklch(43.1% 0.171 339.7)

  • #6C2894

    #6C2894

    oklch(43% 0.171 309.8)

  • #96023B

    #96023B

    oklch(43.1% 0.171 9.5)

Open the analogous palette in the generator

Split complementary

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

  • #87156D

    #87156D

    oklch(43.1% 0.171 339.7)

  • #3A5C00

    #3A5C00

    oklch(43.2% 0.116 130.1)

  • #005D59

    #005D59

    oklch(43.2% 0.075 189.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87156D

    #87156D

    oklch(43.1% 0.171 339.7)

  • #5C5000

    #5C5000

    oklch(43% 0.089 99.3)

  • #005A6D

    #005A6D

    oklch(43.2% 0.078 218.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87156D

    #87156D

    oklch(43.1% 0.171 339.7)

  • #704500

    #704500

    oklch(43% 0.093 69.7)

  • #00603D

    #00603D

    oklch(43.2% 0.098 160)

  • #00528F

    #00528F

    oklch(43.1% 0.121 249.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #87156D 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.