#8342A2

Closest named color: Purply (#983FB2). oklch(50.3% 0.157 313.4), rgb(131, 66, 162).

Aa

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

About this color

#8342A2 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.157 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.046 away. White text reads best on it, at 6.42:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.157)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.26:1
White text6.42:1

Values

HEX#8342A2
RGBrgb(131, 66, 162)
HSLhsl(281, 42%, 45%)
OKLCHoklch(50.3% 0.157 313.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 #8342A2 6.42:1 AA Lc -86.6 Fine for body text
Black text on #8342A2 3.26:1 AA large text Lc 22.6 Dividers and decoration only
#8342A2 text on white 6.42:1 AA Lc 81.5 Fine for body text
#8342A2 text on black 3.26:1 AA large text Lc -20.4 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E3D1ED

    oklch(88.4% 0.043 313.7)

  4. Step 300

    300

    #D2B3E4

    oklch(81% 0.075 313)

  5. Step 400

    400

    #BB89D6

    oklch(70.6% 0.121 313.2)

  6. Step 500

    500

    #AA69CB

    oklch(63% 0.156 313.3)

  7. Step 600

    600

    #964EB8

    oklch(55.6% 0.17 313.6)

  8. Step 700

    700 (this color)

    #8342A2

    oklch(50.3% 0.157 313.4)

  9. Step 800

    800

    #683480

    oklch(42.7% 0.131 313.8)

  10. Step 900

    900

    #542E67

    oklch(37.6% 0.102 313.3)

  11. Step 950

    950

    #311C3C

    oklch(27% 0.063 313.1)

Export this scale for Tailwind in the Tailwind colors tool

#8342A2 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)#245BA50.141
Deuteranopia (no green cones)#3E60A00.124
Tritanopia (no blue cones)#80536C0.105
Achromatopsia (no color)#5F5F5F0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #8342A2

    #8342A2

    oklch(50.3% 0.157 313.4)

  • #407400

    #407400

    oklch(50.3% 0.143 133.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8342A2

    #8342A2

    oklch(50.3% 0.157 313.4)

  • #5B52B9

    #5B52B9

    oklch(50.3% 0.157 283.1)

  • #9D357B

    #9D357B

    oklch(50.2% 0.158 343.1)

Open the analogous palette in the generator

Split complementary

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

  • #8342A2

    #8342A2

    oklch(50.3% 0.157 313.4)

  • #6F6600

    #6F6600

    oklch(50.3% 0.106 103.5)

  • #007752

    #007752

    oklch(50.4% 0.109 163.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8342A2

    #8342A2

    oklch(50.3% 0.157 313.4)

  • #885900

    #885900

    oklch(50.3% 0.107 73.6)

  • #007372

    #007372

    oklch(50.3% 0.086 193.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8342A2

    #8342A2

    oklch(50.3% 0.157 313.4)

  • #A53F00

    #A53F00

    oklch(50.2% 0.148 43.4)

  • #407400

    #407400

    oklch(50.3% 0.143 133.4)

  • #006F8B

    #006F8B

    oklch(50.3% 0.094 223.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8342A2 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.