#842686

Closest named color: Dark Magenta (#8B008B). oklch(45.3% 0.171 327.1), rgb(132, 38, 134).

Aa

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

About this color

#842686 is a medium-dark, vivid purple. In OKLCH its lightness is 45%, 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 Dark Magenta (#8B008B), ΔE 0.036 away. White text reads best on it, at 8.06:1.

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

Values

HEX#842686
RGBrgb(132, 38, 134)
HSLhsl(299, 56%, 34%)
OKLCHoklch(45.3% 0.171 327.1)

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 #842686 8.06:1 AAA Lc -91.7 Preferred for body text
Black text on #842686 2.60:1 Fails Lc 17.1 Dividers and decoration only
#842686 text on white 8.06:1 AAA Lc 87.0 Fine for body text
#842686 text on black 2.60: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

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F5E4F4

    oklch(93.7% 0.028 327.6)

  3. Step 200

    200

    #EECDED

    oklch(88.6% 0.056 327)

  4. Step 300

    300

    #E3AAE2

    oklch(80.8% 0.099 327)

  5. Step 400

    400

    #D479D4

    oklch(70.7% 0.161 327.1)

  6. Step 500

    500

    #C651C8

    oklch(63% 0.204 327)

  7. Step 600

    600

    #B12DB4

    oklch(55.5% 0.221 327.1)

  8. Step 700

    700

    #981D9B

    oklch(49% 0.206 327.1)

  9. Step 800

    800 (this color)

    #842686

    oklch(45.3% 0.171 327.1)

  10. Step 900

    900

    #642065

    oklch(37.8% 0.132 327.2)

  11. Step 950

    950

    #3B143B

    oklch(27% 0.084 327.6)

Export this scale for Tailwind in the Tailwind colors tool

#842686 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)#1348890.180
Deuteranopia (no green cones)#3D54840.152
Tritanopia (no blue cones)#8835530.097
Achromatopsia (no color)#5050500.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #842686

    #842686

    oklch(45.3% 0.171 327.1)

  • #006923

    #006923

    oklch(45.4% 0.135 147.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #842686

    #842686

    oklch(45.3% 0.171 327.1)

  • #6337A7

    #6337A7

    oklch(45.3% 0.171 297.1)

  • #991657

    #991657

    oklch(45.4% 0.171 357.4)

Open the analogous palette in the generator

Split complementary

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

  • #842686

    #842686

    oklch(45.3% 0.171 327.1)

  • #535D00

    #535D00

    oklch(45.4% 0.104 116.8)

  • #006555

    #006555

    oklch(45.3% 0.084 176.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #842686

    #842686

    oklch(45.3% 0.171 327.1)

  • #6C5200

    #6C5200

    oklch(45.3% 0.093 87.4)

  • #00626C

    #00626C

    oklch(45.3% 0.078 206.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #842686

    #842686

    oklch(45.3% 0.171 327.1)

  • #824300

    #824300

    oklch(45.3% 0.109 57.1)

  • #006923

    #006923

    oklch(45.4% 0.135 147.1)

  • #005D86

    #005D86

    oklch(45.3% 0.099 237.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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