#842D84

Closest named color: Warm Purple (#952E8F). oklch(46% 0.16 327.8), rgb(132, 45, 132).

Aa

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

About this color

#842D84 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.160 and its hue 328°. 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.80:1.

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

Values

HEX#842D84
RGBrgb(132, 45, 132)
HSLhsl(300, 49%, 35%)
OKLCHoklch(46% 0.16 327.8)

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 #842D84 7.80:1 AAA Lc -91.1 Preferred for body text
Black text on #842D84 2.68:1 Fails Lc 17.7 Dividers and decoration only
#842D84 text on white 7.80:1 AAA Lc 86.3 Fine for body text
#842D84 text on black 2.68: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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F3E5F2

    oklch(93.7% 0.023 327.9)

  3. Step 200

    200

    #E9D0E8

    oklch(88.5% 0.042 327.2)

  4. Step 300

    300

    #DCAFDA

    oklch(80.8% 0.077 327.7)

  5. Step 400

    400

    #CA84C8

    oklch(70.8% 0.124 327.8)

  6. Step 500

    500

    #BB62B9

    oklch(63.1% 0.158 328.1)

  7. Step 600

    600

    #A646A5

    oklch(55.6% 0.172 328)

  8. Step 700

    700 (this color)

    #842D84

    oklch(46% 0.16 327.8)

  9. Step 800

    800

    #732E73

    oklch(42.6% 0.133 327.6)

  10. Step 900

    900

    #5D2A5D

    oklch(37.6% 0.103 327.4)

  11. Step 950

    950

    #371936

    oklch(26.9% 0.066 328.4)

Export this scale for Tailwind in the Tailwind colors tool

#842D84 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)#214B870.166
Deuteranopia (no green cones)#4256820.142
Tritanopia (no blue cones)#8839540.090
Achromatopsia (no color)#5252520.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #842D84

    #842D84

    oklch(46% 0.16 327.8)

  • #006B27

    #006B27

    oklch(46% 0.134 147.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #842D84

    #842D84

    oklch(46% 0.16 327.8)

  • #653CA3

    #653CA3

    oklch(46% 0.159 298.2)

  • #982158

    #982158

    oklch(46% 0.16 357.8)

Open the analogous palette in the generator

Split complementary

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

  • #842D84

    #842D84

    oklch(46% 0.16 327.8)

  • #535F00

    #535F00

    oklch(45.9% 0.107 117.9)

  • #006758

    #006758

    oklch(46% 0.085 178.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #842D84

    #842D84

    oklch(46% 0.16 327.8)

  • #6E5400

    #6E5400

    oklch(46% 0.094 87.8)

  • #00646F

    #00646F

    oklch(46% 0.079 207.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #842D84

    #842D84

    oklch(46% 0.16 327.8)

  • #844500

    #844500

    oklch(45.9% 0.11 57.8)

  • #006B27

    #006B27

    oklch(46% 0.134 147.8)

  • #005F89

    #005F89

    oklch(46% 0.101 237.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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