#842B85

Closest named color: Warm Purple (#952E8F). oklch(45.8% 0.163 327.4), rgb(132, 43, 133).

Aa

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

About this color

#842B85 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.163 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.038 away. White text reads best on it, at 7.87:1.

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

Values

HEX#842B85
RGBrgb(132, 43, 133)
HSLhsl(299, 51%, 35%)
OKLCHoklch(45.8% 0.163 327.4)

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 #842B85 7.87:1 AAA Lc -91.3 Preferred for body text
Black text on #842B85 2.66:1 Fails Lc 17.5 Dividers and decoration only
#842B85 text on white 7.87:1 AAA Lc 86.5 Fine for body text
#842B85 text on black 2.66: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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F4

    oklch(93.6% 0.027 325.8)

  3. Step 200

    200

    #EDCDEC

    oklch(88.4% 0.054 327)

  4. Step 300

    300

    #E2ABE1

    oklch(80.9% 0.096 327)

  5. Step 400

    400

    #D27BD1

    oklch(70.6% 0.153 327.5)

  6. Step 500

    500

    #C455C5

    oklch(63.1% 0.195 327.2)

  7. Step 600

    600

    #AF33B1

    oklch(55.5% 0.212 327.3)

  8. Step 700

    700

    #972498

    oklch(49.2% 0.197 327.7)

  9. Step 800

    800 (this color)

    #842B85

    oklch(45.8% 0.163 327.4)

  10. Step 900

    900

    #632263

    oklch(37.7% 0.127 327.7)

  11. Step 950

    950

    #3A153A

    oklch(26.9% 0.08 327.5)

Export this scale for Tailwind in the Tailwind colors tool

#842B85 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)#1D4A880.170
Deuteranopia (no green cones)#4156830.145
Tritanopia (no blue cones)#8838540.093
Achromatopsia (no color)#5151510.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #842B85

    #842B85

    oklch(45.8% 0.163 327.4)

  • #006A25

    #006A25

    oklch(45.7% 0.134 147.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #842B85

    #842B85

    oklch(45.8% 0.163 327.4)

  • #643BA5

    #643BA5

    oklch(45.8% 0.163 297.3)

  • #981E58

    #981E58

    oklch(45.8% 0.163 357.4)

Open the analogous palette in the generator

Split complementary

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

  • #842B85

    #842B85

    oklch(45.8% 0.163 327.4)

  • #535E00

    #535E00

    oklch(45.6% 0.106 117.4)

  • #006757

    #006757

    oklch(45.9% 0.085 177.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #842B85

    #842B85

    oklch(45.8% 0.163 327.4)

  • #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.

  • #842B85

    #842B85

    oklch(45.8% 0.163 327.4)

  • #844400

    #844400

    oklch(45.8% 0.111 57)

  • #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 #842B85, closest first.

Similar named colors

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

Use #842B85 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.