#843A7E

Closest named color: Light Eggplant (#894585). oklch(47.2% 0.134 330.6), rgb(132, 58, 126).

Aa

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

About this color

#843A7E is a medium-dark, moderately saturated purple. In OKLCH its lightness is 47%, its chroma 0.134 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.028 away. White text reads best on it, at 7.27:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text2.88:1
White text7.27:1

Values

HEX#843A7E
RGBrgb(132, 58, 126)
HSLhsl(305, 39%, 37%)
OKLCHoklch(47.2% 0.134 330.6)

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 #843A7E 7.27:1 AAA Lc -89.7 Fine for body text
Black text on #843A7E 2.88:1 Fails Lc 19.3 Dividers and decoration only
#843A7E text on white 7.27:1 AAA Lc 84.8 Fine for body text
#843A7E text on black 2.88:1 Fails Lc -17.2 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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E6F0

    oklch(93.7% 0.018 331.1)

  3. Step 200

    200

    #E8D1E4

    oklch(88.5% 0.036 331.6)

  4. Step 300

    300

    #DAB2D4

    oklch(80.9% 0.065 331.2)

  5. Step 400

    400

    #C688BF

    oklch(70.7% 0.105 330.6)

  6. Step 500

    500

    #B669AF

    oklch(63.1% 0.134 330.4)

  7. Step 600

    600

    #A14F9A

    oklch(55.6% 0.144 330.6)

  8. Step 700

    700 (this color)

    #843A7E

    oklch(47.2% 0.134 330.6)

  9. Step 800

    800

    #70356B

    oklch(42.7% 0.111 330.6)

  10. Step 900

    900

    #5B2F57

    oklch(37.8% 0.086 330.5)

  11. Step 950

    950

    #351C33

    oklch(27% 0.054 329.9)

Export this scale for Tailwind in the Tailwind colors tool

#843A7E 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)#3650800.136
Deuteranopia (no green cones)#4D5A7C0.119
Tritanopia (no blue cones)#8941560.073
Achromatopsia (no color)#5757570.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #843A7E

    #843A7E

    oklch(47.2% 0.134 330.6)

  • #006F32

    #006F32

    oklch(47.4% 0.129 150.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #843A7E

    #843A7E

    oklch(47.2% 0.134 330.6)

  • #69459A

    #69459A

    oklch(47.2% 0.135 300.9)

  • #943357

    #943357

    oklch(47.1% 0.134 0.8)

Open the analogous palette in the generator

Split complementary

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

  • #843A7E

    #843A7E

    oklch(47.2% 0.134 330.6)

  • #536400

    #536400

    oklch(47.2% 0.113 120.5)

  • #006B5E

    #006B5E

    oklch(47.3% 0.085 180.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #843A7E

    #843A7E

    oklch(47.2% 0.134 330.6)

  • #705800

    #705800

    oklch(47.1% 0.096 90.3)

  • #006775

    #006775

    oklch(47.1% 0.082 210.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #843A7E

    #843A7E

    oklch(47.2% 0.134 330.6)

  • #874A00

    #874A00

    oklch(47.3% 0.11 60.6)

  • #006F32

    #006F32

    oklch(47.4% 0.129 150.5)

  • #006292

    #006292

    oklch(47.3% 0.109 240.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #843A7E 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.