#87397F

Closest named color: Light Eggplant (#894585). oklch(47.6% 0.139 331.6), rgb(135, 57, 127).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text2.92:1
White text7.18:1

Values

HEX#87397F
RGBrgb(135, 57, 127)
HSLhsl(306, 41%, 38%)
OKLCHoklch(47.6% 0.139 331.6)

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 #87397F 7.18:1 AAA Lc -89.3 Fine for body text
Black text on #87397F 2.92:1 Fails Lc 19.6 Dividers and decoration only
#87397F text on white 7.18:1 AAA Lc 84.4 Fine for body text
#87397F text on black 2.92:1 Fails Lc -17.6 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

    #F2E5F0

    oklch(93.5% 0.02 330.7)

  3. Step 200

    200

    #E9D1E4

    oklch(88.6% 0.037 332.9)

  4. Step 300

    300

    #DBB1D4

    oklch(80.8% 0.067 331.9)

  5. Step 400

    400

    #C887BF

    oklch(70.7% 0.108 331.6)

  6. Step 500

    500

    #B868AF

    oklch(63.1% 0.137 331.3)

  7. Step 600

    600

    #A34D9A

    oklch(55.5% 0.149 331.5)

  8. Step 700

    700 (this color)

    #87397F

    oklch(47.6% 0.139 331.6)

  9. Step 800

    800

    #72336B

    oklch(42.7% 0.116 331.8)

  10. Step 900

    900

    #5C2E57

    oklch(37.8% 0.089 331.3)

  11. Step 950

    950

    #361B33

    oklch(27% 0.057 331.2)

Export this scale for Tailwind in the Tailwind colors tool

#87397F 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)#3650810.142
Deuteranopia (no green cones)#4E5B7D0.125
Tritanopia (no blue cones)#8C3F560.074
Achromatopsia (no color)#5757570.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #87397F

    #87397F

    oklch(47.6% 0.139 331.6)

  • #007036

    #007036

    oklch(47.7% 0.126 151.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87397F

    #87397F

    oklch(47.6% 0.139 331.6)

  • #6B459D

    #6B459D

    oklch(47.6% 0.139 301.2)

  • #973257

    #973257

    oklch(47.5% 0.139 1.4)

Open the analogous palette in the generator

Split complementary

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

  • #87397F

    #87397F

    oklch(47.6% 0.139 331.6)

  • #526600

    #526600

    oklch(47.6% 0.116 122)

  • #006C60

    #006C60

    oklch(47.7% 0.086 181.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87397F

    #87397F

    oklch(47.6% 0.139 331.6)

  • #705A00

    #705A00

    oklch(47.6% 0.097 92.2)

  • #006877

    #006877

    oklch(47.5% 0.083 211.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87397F

    #87397F

    oklch(47.6% 0.139 331.6)

  • #874B00

    #874B00

    oklch(47.5% 0.11 61.4)

  • #007036

    #007036

    oklch(47.7% 0.126 151.7)

  • #006295

    #006295

    oklch(47.5% 0.112 241.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #87397F.

Similar named colors

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

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