#87287E

Closest named color: Warm Purple (#952E8F). oklch(45.5% 0.163 332), rgb(135, 40, 126).

Aa

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

About this color

#87287E is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.163 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.040 away. White text reads best on it, at 7.96:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.163)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.63:1
White text7.96:1

Values

HEX#87287E
RGBrgb(135, 40, 126)
HSLhsl(306, 54%, 34%)
OKLCHoklch(45.5% 0.163 332)

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 #87287E 7.96:1 AAA Lc -91.5 Preferred for body text
Black text on #87287E 2.63:1 Fails Lc 17.3 Dividers and decoration only
#87287E text on white 7.96:1 AAA Lc 86.7 Fine for body text
#87287E text on black 2.63:1 Fails Lc -15.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 800.

  1. Step 50

    50

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F2

    oklch(93.5% 0.029 332.8)

  3. Step 200

    200

    #EFCDE9

    oklch(88.5% 0.053 332)

  4. Step 300

    300

    #E6AADC

    oklch(80.9% 0.096 332.3)

  5. Step 400

    400

    #D77ACA

    oklch(70.8% 0.152 332.4)

  6. Step 500

    500

    #C952BD

    oklch(63% 0.196 331.7)

  7. Step 600

    600

    #B530A9

    oklch(55.7% 0.212 332)

  8. Step 700

    700

    #9B2091

    oklch(49.1% 0.197 331.9)

  9. Step 800

    800 (this color)

    #87287E

    oklch(45.5% 0.163 332)

  10. Step 900

    900

    #66205F

    oklch(37.7% 0.128 332)

  11. Step 950

    950

    #3C1438

    oklch(27% 0.082 331.6)

Export this scale for Tailwind in the Tailwind colors tool

#87287E 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)#2348800.174
Deuteranopia (no green cones)#45567C0.150
Tritanopia (no blue cones)#8D32500.085
Achromatopsia (no color)#5151510.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #87287E

    #87287E

    oklch(45.5% 0.163 332)

  • #006933

    #006933

    oklch(45.6% 0.12 152)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87287E

    #87287E

    oklch(45.5% 0.163 332)

  • #6937A0

    #6937A0

    oklch(45.5% 0.163 302.2)

  • #991C50

    #991C50

    oklch(45.6% 0.163 1.8)

Open the analogous palette in the generator

Split complementary

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

  • #87287E

    #87287E

    oklch(45.5% 0.163 332)

  • #4D6000

    #4D6000

    oklch(45.7% 0.111 122.1)

  • #00655A

    #00655A

    oklch(45.5% 0.081 182.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87287E

    #87287E

    oklch(45.5% 0.163 332)

  • #695400

    #695400

    oklch(45.4% 0.093 92)

  • #006270

    #006270

    oklch(45.5% 0.079 211.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87287E

    #87287E

    oklch(45.5% 0.163 332)

  • #7F4700

    #7F4700

    oklch(45.6% 0.105 62.2)

  • #006933

    #006933

    oklch(45.6% 0.12 152)

  • #005C8D

    #005C8D

    oklch(45.5% 0.108 242.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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