#862787

Closest named color: Warm Purple (#952E8F). oklch(45.8% 0.171 327.5), rgb(134, 39, 135).

Aa

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

About this color

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

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

Values

HEX#862787
RGBrgb(134, 39, 135)
HSLhsl(299, 55%, 34%)
OKLCHoklch(45.8% 0.171 327.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 #862787 7.91:1 AAA Lc -91.3 Preferred for body text
Black text on #862787 2.65:1 Fails Lc 17.5 Dividers and decoration only
#862787 text on white 7.91:1 AAA Lc 86.5 Fine for body text
#862787 text on black 2.65:1 Fails Lc -15.6 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

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F5E3F4

    oklch(93.5% 0.03 327.5)

  3. Step 200

    200

    #EECDEC

    oklch(88.5% 0.055 327.9)

  4. Step 300

    300

    #E4AAE2

    oklch(80.9% 0.1 327.6)

  5. Step 400

    400

    #D479D3

    oklch(70.6% 0.16 327.5)

  6. Step 500

    500

    #C751C7

    oklch(63.1% 0.204 327.7)

  7. Step 600

    600

    #B22CB4

    oklch(55.6% 0.223 327.4)

  8. Step 700

    700

    #991C9B

    oklch(49.1% 0.207 327.4)

  9. Step 800

    800 (this color)

    #862787

    oklch(45.8% 0.171 327.5)

  10. Step 900

    900

    #641F65

    oklch(37.6% 0.133 327.2)

  11. Step 950

    950

    #3B143B

    oklch(27% 0.084 327.6)

Export this scale for Tailwind in the Tailwind colors tool

#862787 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)#16498A0.181
Deuteranopia (no green cones)#3F55850.153
Tritanopia (no blue cones)#8A35540.096
Achromatopsia (no color)#5151510.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #862787

    #862787

    oklch(45.8% 0.171 327.5)

  • #006A25

    #006A25

    oklch(45.7% 0.134 147.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #862787

    #862787

    oklch(45.8% 0.171 327.5)

  • #6538A9

    #6538A9

    oklch(45.8% 0.172 297.4)

  • #9B1758

    #9B1758

    oklch(45.9% 0.172 357.5)

Open the analogous palette in the generator

Split complementary

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

  • #862787

    #862787

    oklch(45.8% 0.171 327.5)

  • #535F00

    #535F00

    oklch(45.9% 0.107 117.9)

  • #006757

    #006757

    oklch(45.9% 0.085 177.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #862787

    #862787

    oklch(45.8% 0.171 327.5)

  • #6E5300

    #6E5300

    oklch(45.8% 0.094 86.8)

  • #00636E

    #00636E

    oklch(45.7% 0.079 208)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #862787

    #862787

    oklch(45.8% 0.171 327.5)

  • #844500

    #844500

    oklch(45.9% 0.11 57.8)

  • #006A25

    #006A25

    oklch(45.7% 0.134 147.5)

  • #005E88

    #005E88

    oklch(45.7% 0.101 237.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #862787 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.