#87397B

Closest named color: Light Eggplant (#894585). oklch(47.4% 0.136 333.8), rgb(135, 57, 123).

Aa

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

About this color

#87397B is a medium-dark, moderately saturated purple. In OKLCH its lightness is 47%, its chroma 0.136 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.029 away. White text reads best on it, at 7.23:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text2.90:1
White text7.23:1

Values

HEX#87397B
RGBrgb(135, 57, 123)
HSLhsl(309, 41%, 38%)
OKLCHoklch(47.4% 0.136 333.8)

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 #87397B 7.23:1 AAA Lc -89.5 Fine for body text
Black text on #87397B 2.90:1 Fails Lc 19.4 Dividers and decoration only
#87397B text on white 7.23:1 AAA Lc 84.6 Fine for body text
#87397B text on black 2.90:1 Fails Lc -17.4 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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5EF

    oklch(93.5% 0.019 333.5)

  3. Step 200

    200

    #E9D1E3

    oklch(88.6% 0.036 334.5)

  4. Step 300

    300

    #DCB1D2

    oklch(80.9% 0.066 334.5)

  5. Step 400

    400

    #C887BC

    oklch(70.6% 0.106 333.4)

  6. Step 500

    500

    #B968AB

    oklch(63.1% 0.134 333.7)

  7. Step 600

    600

    #A44E96

    oklch(55.6% 0.145 333.9)

  8. Step 700

    700 (this color)

    #87397B

    oklch(47.4% 0.136 333.8)

  9. Step 800

    800

    #723468

    oklch(42.7% 0.112 333.8)

  10. Step 900

    900

    #5D2E55

    oklch(37.8% 0.088 333.9)

  11. Step 950

    950

    #361B32

    oklch(26.9% 0.056 332.6)

Export this scale for Tailwind in the Tailwind colors tool

#87397B 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)#38507D0.140
Deuteranopia (no green cones)#4F5B790.124
Tritanopia (no blue cones)#8D3E540.070
Achromatopsia (no color)#5757570.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #87397B

    #87397B

    oklch(47.4% 0.136 333.8)

  • #006F3B

    #006F3B

    oklch(47.5% 0.12 153.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87397B

    #87397B

    oklch(47.4% 0.136 333.8)

  • #6D4499

    #6D4499

    oklch(47.4% 0.136 303.9)

  • #963353

    #963353

    oklch(47.3% 0.135 3.9)

Open the analogous palette in the generator

Split complementary

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

  • #87397B

    #87397B

    oklch(47.4% 0.136 333.8)

  • #4F6600

    #4F6600

    oklch(47.4% 0.117 123.6)

  • #006B61

    #006B61

    oklch(47.4% 0.084 183.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87397B

    #87397B

    oklch(47.4% 0.136 333.8)

  • #6E5A00

    #6E5A00

    oklch(47.4% 0.097 93.9)

  • #006778

    #006778

    oklch(47.2% 0.083 214.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87397B

    #87397B

    oklch(47.4% 0.136 333.8)

  • #854C00

    #854C00

    oklch(47.4% 0.108 63.4)

  • #006F3B

    #006F3B

    oklch(47.5% 0.12 153.9)

  • #006198

    #006198

    oklch(47.4% 0.117 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 #87397B, closest first.

Similar named colors

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

Use #87397B 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.