#87247F

Closest named color: Dark Magenta (#8B008B). oklch(45.2% 0.169 331.5), rgb(135, 36, 127).

Aa

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

About this color

#87247F is a medium-dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.169 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Magenta (#8B008B), ΔE 0.038 away. White text reads best on it, at 8.11:1.

Hue familyPurples
Lightnessmedium-dark (45%)
Chromavivid (0.169)
Temperaturein between
Nearest nameDark Magenta (#8B008B)
Black text2.58:1
White text8.11:1

Values

HEX#87247F
RGBrgb(135, 36, 127)
HSLhsl(305, 58%, 34%)
OKLCHoklch(45.2% 0.169 331.5)

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 #87247F 8.11:1 AAA Lc -91.8 Preferred for body text
Black text on #87247F 2.58:1 Fails Lc 17.0 Dividers and decoration only
#87247F text on white 8.11:1 AAA Lc 87.0 Fine for body text
#87247F text on black 2.58:1 Fails Lc -15.1 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

    #F6E3F3

    oklch(93.6% 0.029 330.9)

  3. Step 200

    200

    #EFCCEA

    oklch(88.4% 0.056 330.8)

  4. Step 300

    300

    #E6A9DE

    oklch(80.8% 0.099 331)

  5. Step 400

    400

    #D878CD

    oklch(70.7% 0.159 331.4)

  6. Step 500

    500

    #CB50BF

    oklch(63.2% 0.201 331.7)

  7. Step 600

    600

    #B62BAB

    oklch(55.6% 0.219 331.7)

  8. Step 700

    700

    #9C1B93

    oklch(49.1% 0.203 331.5)

  9. Step 800

    800 (this color)

    #87247F

    oklch(45.2% 0.169 331.5)

  10. Step 900

    900

    #671E60

    oklch(37.7% 0.132 331.9)

  11. Step 950

    950

    #3C1338

    oklch(26.9% 0.084 331.6)

Export this scale for Tailwind in the Tailwind colors tool

#87247F 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)#1D47820.181
Deuteranopia (no green cones)#43557D0.155
Tritanopia (no blue cones)#8D2F4F0.089
Achromatopsia (no color)#5050500.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #87247F

    #87247F

    oklch(45.2% 0.169 331.5)

  • #006831

    #006831

    oklch(45.3% 0.121 151.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87247F

    #87247F

    oklch(45.2% 0.169 331.5)

  • #6835A2

    #6835A2

    oklch(45.2% 0.168 301.4)

  • #9A154F

    #9A154F

    oklch(45.3% 0.169 1.8)

Open the analogous palette in the generator

Split complementary

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

  • #87247F

    #87247F

    oklch(45.2% 0.169 331.5)

  • #4D5E00

    #4D5E00

    oklch(45.1% 0.108 121.1)

  • #006459

    #006459

    oklch(45.2% 0.081 182)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87247F

    #87247F

    oklch(45.2% 0.169 331.5)

  • #695300

    #695300

    oklch(45.2% 0.092 91)

  • #00616F

    #00616F

    oklch(45.2% 0.079 211.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87247F

    #87247F

    oklch(45.2% 0.169 331.5)

  • #7E4600

    #7E4600

    oklch(45.2% 0.104 61.8)

  • #006831

    #006831

    oklch(45.3% 0.121 151.5)

  • #005B8B

    #005B8B

    oklch(45.1% 0.107 241.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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