#87337F

Closest named color: Warm Purple (#952E8F). oklch(46.8% 0.148 331.6), rgb(135, 51, 127).

Aa

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

About this color

#87337F is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.148 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.038 away. White text reads best on it, at 7.47:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.148)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.81:1
White text7.47:1

Values

HEX#87337F
RGBrgb(135, 51, 127)
HSLhsl(306, 45%, 36%)
OKLCHoklch(46.8% 0.148 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 #87337F 7.47:1 AAA Lc -90.2 Preferred for body text
Black text on #87337F 2.81:1 Fails Lc 18.7 Dividers and decoration only
#87337F text on white 7.47:1 AAA Lc 85.3 Fine for body text
#87337F text on black 2.81:1 Fails Lc -16.7 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F3E5F0

    oklch(93.6% 0.021 332.9)

  3. Step 200

    200

    #EAD0E5

    oklch(88.5% 0.04 332.4)

  4. Step 300

    300

    #DDB0D6

    oklch(80.9% 0.072 331.6)

  5. Step 400

    400

    #CA85C1

    oklch(70.7% 0.115 331.4)

  6. Step 500

    500

    #BB65B1

    oklch(63.2% 0.146 331.6)

  7. Step 600

    600

    #A6499D

    oklch(55.5% 0.16 331.3)

  8. Step 700

    700 (this color)

    #87337F

    oklch(46.8% 0.148 331.6)

  9. Step 800

    800

    #74316D

    oklch(42.8% 0.123 331.7)

  10. Step 900

    900

    #5E2C58

    oklch(37.8% 0.095 332)

  11. Step 950

    950

    #371A34

    oklch(27% 0.061 331)

Export this scale for Tailwind in the Tailwind colors tool

#87337F 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)#2F4D810.154
Deuteranopia (no green cones)#4A597D0.134
Tritanopia (no blue cones)#8C3B540.079
Achromatopsia (no color)#5555550.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #87337F

    #87337F

    oklch(46.8% 0.148 331.6)

  • #006D34

    #006D34

    oklch(46.8% 0.124 151.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87337F

    #87337F

    oklch(46.8% 0.148 331.6)

  • #6A409E

    #6A409E

    oklch(46.8% 0.148 301.5)

  • #982B54

    #982B54

    oklch(46.8% 0.148 1.8)

Open the analogous palette in the generator

Split complementary

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

  • #87337F

    #87337F

    oklch(46.8% 0.148 331.6)

  • #516300

    #516300

    oklch(46.8% 0.112 121.2)

  • #00695D

    #00695D

    oklch(46.7% 0.084 181.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87337F

    #87337F

    oklch(46.8% 0.148 331.6)

  • #6E5800

    #6E5800

    oklch(46.9% 0.096 91.9)

  • #006674

    #006674

    oklch(46.8% 0.081 211.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87337F

    #87337F

    oklch(46.8% 0.148 331.6)

  • #844A00

    #844A00

    oklch(46.8% 0.108 62.2)

  • #006D34

    #006D34

    oklch(46.8% 0.124 151.6)

  • #006092

    #006092

    oklch(46.8% 0.11 241.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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