#843F7D

Closest named color: Light Eggplant (#894585). oklch(47.9% 0.125 331.3), rgb(132, 63, 125).

Aa

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

About this color

#843F7D is a medium-dark, moderately saturated purple. In OKLCH its lightness is 48%, its chroma 0.125 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.020 away. White text reads best on it, at 7.02:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text2.98:1
White text7.02:1

Values

HEX#843F7D
RGBrgb(132, 63, 125)
HSLhsl(306, 35%, 38%)
OKLCHoklch(47.9% 0.125 331.3)

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 #843F7D 7.02:1 AAA Lc -88.9 Fine for body text
Black text on #843F7D 2.98:1 Fails Lc 20.1 Dividers and decoration only
#843F7D text on white 7.02:1 AAA Lc 83.9 Fine for body text
#843F7D text on black 2.98:1 Fails Lc -18.0 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

    #F9F4F8

    oklch(97.2% 0.007 332.1)

  2. Step 100

    100

    #F1E6EF

    oklch(93.6% 0.017 331.6)

  3. Step 200

    200

    #E7D1E3

    oklch(88.4% 0.034 331.9)

  4. Step 300

    300

    #D8B3D3

    oklch(80.9% 0.06 330.6)

  5. Step 400

    400

    #C48ABC

    oklch(70.7% 0.097 331.4)

  6. Step 500

    500

    #B46CAB

    oklch(63.1% 0.123 331.6)

  7. Step 600

    600

    #9F5297

    oklch(55.6% 0.135 331.2)

  8. Step 700

    700 (this color)

    #843F7D

    oklch(47.9% 0.125 331.3)

  9. Step 800

    800

    #6E3768

    oklch(42.6% 0.103 331.4)

  10. Step 900

    900

    #5A3055

    oklch(37.7% 0.081 331.5)

  11. Step 950

    950

    #351D32

    oklch(27.2% 0.051 331.5)

Export this scale for Tailwind in the Tailwind colors tool

#843F7D 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)#3C537F0.126
Deuteranopia (no green cones)#505C7B0.112
Tritanopia (no blue cones)#8944580.066
Achromatopsia (no color)#5959590.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #843F7D

    #843F7D

    oklch(47.9% 0.125 331.3)

  • #097036

    #097036

    oklch(47.8% 0.125 151.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #843F7D

    #843F7D

    oklch(47.9% 0.125 331.3)

  • #6A4998

    #6A4998

    oklch(47.9% 0.126 301.1)

  • #933959

    #933959

    oklch(47.8% 0.125 0.9)

Open the analogous palette in the generator

Split complementary

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

  • #843F7D

    #843F7D

    oklch(47.9% 0.125 331.3)

  • #546600

    #546600

    oklch(47.8% 0.115 120.9)

  • #006D60

    #006D60

    oklch(47.9% 0.087 180.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #843F7D

    #843F7D

    oklch(47.9% 0.125 331.3)

  • #725A00

    #725A00

    oklch(47.8% 0.098 90.6)

  • #006978

    #006978

    oklch(47.8% 0.083 211.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #843F7D

    #843F7D

    oklch(47.9% 0.125 331.3)

  • #894C00

    #894C00

    oklch(47.9% 0.111 61.3)

  • #097036

    #097036

    oklch(47.8% 0.125 151.2)

  • #006396

    #006396

    oklch(47.8% 0.112 241.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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