#862888

Closest named color: Warm Purple (#952E8F). oklch(46% 0.171 327), rgb(134, 40, 136).

Aa

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

About this color

#862888 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.035 away. White text reads best on it, at 7.85:1.

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

Values

HEX#862888
RGBrgb(134, 40, 136)
HSLhsl(299, 55%, 35%)
OKLCHoklch(46% 0.171 327)

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 #862888 7.85:1 AAA Lc -91.1 Preferred for body text
Black text on #862888 2.67:1 Fails Lc 17.7 Dividers and decoration only
#862888 text on white 7.85:1 AAA Lc 86.3 Fine for body text
#862888 text on black 2.67:1 Fails Lc -15.8 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F3E5F2

    oklch(93.7% 0.023 327.9)

  3. Step 200

    200

    #EACFE9

    oklch(88.5% 0.046 327.1)

  4. Step 300

    300

    #DEAEDD

    oklch(80.9% 0.084 327)

  5. Step 400

    400

    #CC82CB

    oklch(70.8% 0.132 327.3)

  6. Step 500

    500

    #BD5FBE

    oklch(63.1% 0.169 327)

  7. Step 600

    600

    #A842AA

    oklch(55.6% 0.183 326.9)

  8. Step 700

    700 (this color)

    #862888

    oklch(46% 0.171 327)

  9. Step 800

    800

    #752B76

    oklch(42.7% 0.141 327.2)

  10. Step 900

    900

    #5F285F

    oklch(37.7% 0.11 327.5)

  11. Step 950

    950

    #381838

    oklch(27% 0.071 327.3)

Export this scale for Tailwind in the Tailwind colors tool

#862888 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)#164A8B0.180
Deuteranopia (no green cones)#3F56860.153
Tritanopia (no blue cones)#8A36550.096
Achromatopsia (no color)#5252520.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #862888

    #862888

    oklch(46% 0.171 327)

  • #006B24

    #006B24

    oklch(46% 0.136 147.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #862888

    #862888

    oklch(46% 0.171 327)

  • #6539A9

    #6539A9

    oklch(46% 0.171 297.2)

  • #9B1959

    #9B1959

    oklch(46% 0.17 357.2)

Open the analogous palette in the generator

Split complementary

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

  • #862888

    #862888

    oklch(46% 0.171 327)

  • #545F00

    #545F00

    oklch(46% 0.106 117.3)

  • #006757

    #006757

    oklch(45.9% 0.085 177.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #862888

    #862888

    oklch(46% 0.171 327)

  • #6E5400

    #6E5400

    oklch(46% 0.094 87.8)

  • #00646E

    #00646E

    oklch(46% 0.079 206.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #862888

    #862888

    oklch(46% 0.171 327)

  • #854500

    #854500

    oklch(46.1% 0.111 57.3)

  • #006B24

    #006B24

    oklch(46% 0.136 147.1)

  • #005F88

    #005F88

    oklch(46% 0.1 236.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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