#845D8A

Closest named color: Dusty Purple (#825F87). oklch(53.6% 0.083 322), rgb(132, 93, 138).

Aa

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

About this color

#845D8A is a medium-dark, moderately saturated purple. In OKLCH its lightness is 54%, its chroma 0.083 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusty Purple (#825F87), ΔE 0.009 away. White text reads best on it, at 5.36:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest nameDusty Purple (#825F87)
Black text3.91:1
White text5.36:1

Values

HEX#845D8A
RGBrgb(132, 93, 138)
HSLhsl(292, 19%, 45%)
OKLCHoklch(53.6% 0.083 322)

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 #845D8A 5.36:1 AA Lc -82.0 Fine for body text
Black text on #845D8A 3.91:1 AA large text Lc 27.4 Dividers and decoration only
#845D8A text on white 5.36:1 AA Lc 76.6 Fine for body text
#845D8A text on black 3.91:1 AA large text Lc -25.1 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 600.

  1. Step 50

    50

    #F7F4F7

    oklch(97% 0.005 325.6)

  2. Step 100

    100

    #EDE8EE

    oklch(93.7% 0.01 320.5)

  3. Step 200

    200

    #E0D5E1

    oklch(88.5% 0.02 323.2)

  4. Step 300

    300

    #CCB9CF

    oklch(80.8% 0.037 321.6)

  5. Step 400

    400

    #B395B7

    oklch(70.8% 0.059 322.4)

  6. Step 500

    500

    #9F7AA5

    oklch(63% 0.076 321.7)

  7. Step 600

    600 (this color)

    #845D8A

    oklch(53.6% 0.083 322)

  8. Step 700

    700

    #75527B

    oklch(49.2% 0.076 321.5)

  9. Step 800

    800

    #5F4364

    oklch(42.7% 0.064 321.3)

  10. Step 900

    900

    #4E3951

    oklch(37.7% 0.048 322.2)

  11. Step 950

    950

    #2E2130

    oklch(27% 0.033 321.9)

Export this scale for Tailwind in the Tailwind colors tool

#845D8A 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)#58688C0.072
Deuteranopia (no green cones)#626C890.065
Tritanopia (no blue cones)#85626D0.052
Achromatopsia (no color)#6B6B6B0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #845D8A

    #845D8A

    oklch(53.6% 0.083 322)

  • #517A4C

    #517A4C

    oklch(53.7% 0.084 141.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845D8A

    #845D8A

    oklch(53.6% 0.083 322)

  • #6E649A

    #6E649A

    oklch(53.5% 0.084 291.8)

  • #925972

    #925972

    oklch(53.6% 0.082 352.4)

Open the analogous palette in the generator

Split complementary

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

  • #845D8A

    #845D8A

    oklch(53.6% 0.083 322)

  • #6F7236

    #6F7236

    oklch(53.6% 0.083 111.4)

  • #317D68

    #317D68

    oklch(53.6% 0.082 172)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845D8A

    #845D8A

    oklch(53.6% 0.083 322)

  • #856830

    #856830

    oklch(53.4% 0.082 81.8)

  • #1F7B82

    #1F7B82

    oklch(53.5% 0.082 202.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845D8A

    #845D8A

    oklch(53.6% 0.083 322)

  • #935F3F

    #935F3F

    oklch(53.5% 0.082 51.8)

  • #517A4C

    #517A4C

    oklch(53.7% 0.084 141.8)

  • #347695

    #347695

    oklch(53.7% 0.082 231.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #845D8A 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.