#87399E

Closest named color: Warm Purple (#952E8F). oklch(49.4% 0.168 317.8), rgb(135, 57, 158).

Aa

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

About this color

#87399E is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.168 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.039 away. White text reads best on it, at 6.75:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.168)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.10:1
White text6.75:1

Values

HEX#87399E
RGBrgb(135, 57, 158)
HSLhsl(286, 47%, 42%)
OKLCHoklch(49.4% 0.168 317.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 #87399E 6.75:1 AA Lc -87.7 Fine for body text
Black text on #87399E 3.10:1 AA large text Lc 21.4 Dividers and decoration only
#87399E text on white 6.75:1 AA Lc 82.6 Fine for body text
#87399E text on black 3.10:1 AA large text Lc -19.3 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E6D0ED

    oklch(88.4% 0.046 318)

  4. Step 300

    300

    #D7B0E3

    oklch(80.8% 0.082 318.1)

  5. Step 400

    400

    #C285D5

    oklch(70.6% 0.131 317.9)

  6. Step 500

    500

    #B264CA

    oklch(63.1% 0.167 317.8)

  7. Step 600

    600

    #9D48B7

    oklch(55.6% 0.181 317.6)

  8. Step 700

    700 (this color)

    #87399E

    oklch(49.4% 0.168 317.8)

  9. Step 800

    800

    #6D307F

    oklch(42.7% 0.138 317.9)

  10. Step 900

    900

    #592B66

    oklch(37.7% 0.109 318.4)

  11. Step 950

    950

    #341A3C

    oklch(27% 0.069 317.8)

Export this scale for Tailwind in the Tailwind colors tool

#87399E 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)#1956A10.162
Deuteranopia (no green cones)#3D5E9C0.140
Tritanopia (no blue cones)#864B660.108
Achromatopsia (no color)#5B5B5B0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #87399E

    #87399E

    oklch(49.4% 0.168 317.8)

  • #2E7400

    #2E7400

    oklch(49.4% 0.152 137.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87399E

    #87399E

    oklch(49.4% 0.168 317.8)

  • #604ABA

    #604ABA

    oklch(49.4% 0.169 287.6)

  • #A02B72

    #A02B72

    oklch(49.3% 0.168 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #87399E

    #87399E

    oklch(49.4% 0.168 317.8)

  • #686500

    #686500

    oklch(49.3% 0.106 107.7)

  • #007356

    #007356

    oklch(49.3% 0.1 167.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87399E

    #87399E

    oklch(49.4% 0.168 317.8)

  • #815900

    #815900

    oklch(49.4% 0.103 78.3)

  • #007072

    #007072

    oklch(49.4% 0.084 197)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87399E

    #87399E

    oklch(49.4% 0.168 317.8)

  • #9C4300

    #9C4300

    oklch(49.3% 0.135 47.6)

  • #2E7400

    #2E7400

    oklch(49.4% 0.152 137.8)

  • #006B8C

    #006B8C

    oklch(49.3% 0.096 228.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #87399E 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.