#861F87

Closest named color: Dark Magenta (#8B008B). oklch(45.1% 0.18 327.6), rgb(134, 31, 135).

Aa

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

About this color

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

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

Values

HEX#861F87
RGBrgb(134, 31, 135)
HSLhsl(299, 63%, 33%)
OKLCHoklch(45.1% 0.18 327.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 #861F87 8.20:1 AAA Lc -91.9 Preferred for body text
Black text on #861F87 2.55:1 Fails Lc 16.8 Dividers and decoration only
#861F87 text on white 8.20:1 AAA Lc 87.2 Fine for body text
#861F87 text on black 2.55:1 Fails Lc -14.9 Not readable

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

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F6E3F4

    oklch(93.6% 0.03 329.1)

  3. Step 200

    200

    #EFCCED

    oklch(88.5% 0.058 327.9)

  4. Step 300

    300

    #E6A8E4

    oklch(80.9% 0.107 327.6)

  5. Step 400

    400

    #D776D6

    oklch(70.7% 0.17 327.6)

  6. Step 500

    500

    #CA4CCA

    oklch(63.1% 0.215 327.8)

  7. Step 600

    600

    #B523B7

    oklch(55.6% 0.234 327.6)

  8. Step 700

    700

    #9C109D

    oklch(49.2% 0.218 327.9)

  9. Step 800

    800 (this color)

    #861F87

    oklch(45.1% 0.18 327.6)

  10. Step 900

    900

    #661C67

    oklch(37.8% 0.14 327.4)

  11. Step 950

    950

    #3C123C

    oklch(27% 0.089 327.7)

Export this scale for Tailwind in the Tailwind colors tool

#861F87 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)#04468A0.194
Deuteranopia (no green cones)#3B53840.162
Tritanopia (no blue cones)#8A30520.100
Achromatopsia (no color)#4F4F4F0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #861F87

    #861F87

    oklch(45.1% 0.18 327.6)

  • #006825

    #006825

    oklch(45.1% 0.132 147.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #861F87

    #861F87

    oklch(45.1% 0.18 327.6)

  • #6433AA

    #6433AA

    oklch(45.1% 0.18 297.5)

  • #9B0756

    #9B0756

    oklch(45.1% 0.18 357.5)

Open the analogous palette in the generator

Split complementary

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

  • #861F87

    #861F87

    oklch(45.1% 0.18 327.6)

  • #515D00

    #515D00

    oklch(45.2% 0.105 118.1)

  • #006455

    #006455

    oklch(45% 0.083 177.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #861F87

    #861F87

    oklch(45.1% 0.18 327.6)

  • #6B5200

    #6B5200

    oklch(45.2% 0.092 88.2)

  • #00616C

    #00616C

    oklch(45.1% 0.078 208.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #861F87

    #861F87

    oklch(45.1% 0.18 327.6)

  • #814300

    #814300

    oklch(45.1% 0.109 57.5)

  • #006825

    #006825

    oklch(45.1% 0.132 147.7)

  • #005C86

    #005C86

    oklch(45.1% 0.1 238)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #861F87 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.