#87187A

Closest named color: Purple (#800080). oklch(44% 0.178 333.7), rgb(135, 24, 122).

Aa

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

About this color

#87187A is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.178 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.030 away. White text reads best on it, at 8.59:1.

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.178)
Temperaturein between
Nearest namePurple (#800080)
Black text2.44:1
White text8.59:1

Values

HEX#87187A
RGBrgb(135, 24, 122)
HSLhsl(307, 70%, 31%)
OKLCHoklch(44% 0.178 333.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 #87187A 8.59:1 AAA Lc -92.8 Preferred for body text
Black text on #87187A 2.44:1 Fails Lc 15.8 Dividers and decoration only
#87187A text on white 8.59:1 AAA Lc 88.2 Fine for body text
#87187A text on black 2.44:1 Fails Lc -14.0 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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F2

    oklch(93.6% 0.029 334.4)

  3. Step 200

    200

    #F2CCE9

    oklch(88.6% 0.057 334.4)

  4. Step 300

    300

    #EAA7DD

    oklch(80.9% 0.105 333.6)

  5. Step 400

    400

    #DC75CB

    oklch(70.7% 0.165 333.7)

  6. Step 500

    500

    #D049BE

    oklch(63.1% 0.213 333.5)

  7. Step 600

    600

    #BB1FAA

    oklch(55.6% 0.231 333.5)

  8. Step 700

    700

    #A10A92

    oklch(49.1% 0.215 333.5)

  9. Step 800

    800 (this color)

    #87187A

    oklch(44% 0.178 333.7)

  10. Step 900

    900

    #6A1A5F

    oklch(37.7% 0.139 334.1)

  11. Step 950

    950

    #3E1138

    oklch(26.9% 0.088 333.4)

Export this scale for Tailwind in the Tailwind colors tool

#87187A 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)#13427D0.197
Deuteranopia (no green cones)#4151770.164
Tritanopia (no blue cones)#8E25490.091
Achromatopsia (no color)#4C4C4C0.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #87187A

    #87187A

    oklch(44% 0.178 333.7)

  • #006334

    #006334

    oklch(43.8% 0.111 153.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87187A

    #87187A

    oklch(44% 0.178 333.7)

  • #692CA0

    #692CA0

    oklch(44% 0.178 303.9)

  • #990048

    #990048

    oklch(44% 0.177 3.6)

Open the analogous palette in the generator

Split complementary

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

  • #87187A

    #87187A

    oklch(44% 0.178 333.7)

  • #475C00

    #475C00

    oklch(44.1% 0.109 123.6)

  • #006057

    #006057

    oklch(43.9% 0.078 183.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87187A

    #87187A

    oklch(44% 0.178 333.7)

  • #635100

    #635100

    oklch(44% 0.09 94.1)

  • #005D6C

    #005D6C

    oklch(44% 0.077 213.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87187A

    #87187A

    oklch(44% 0.178 333.7)

  • #784400

    #784400

    oklch(44% 0.1 63.4)

  • #006334

    #006334

    oklch(43.8% 0.111 153.9)

  • #005789

    #005789

    oklch(44% 0.108 243.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #87187A 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.