#845F8D

Closest named color: Dusty Purple (#825F87). oklch(54.1% 0.082 319.6), rgb(132, 95, 141).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest nameDusty Purple (#825F87)
Black text4.00:1
White text5.24:1

Values

HEX#845F8D
RGBrgb(132, 95, 141)
HSLhsl(288, 19%, 46%)
OKLCHoklch(54.1% 0.082 319.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 #845F8D 5.24:1 AA Lc -81.3 Fine for body text
Black text on #845F8D 4.00:1 AA large text Lc 28.1 Dividers and decoration only
#845F8D text on white 5.24:1 AA Lc 76.0 Fine for body text
#845F8D text on black 4.00:1 AA large text Lc -25.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 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

    #DFD5E2

    oklch(88.5% 0.021 318.4)

  4. Step 300

    300

    #CCB9D0

    oklch(80.9% 0.038 320.4)

  5. Step 400

    400

    #B195B8

    oklch(70.6% 0.059 319.5)

  6. Step 500

    500

    #9E7BA6

    oklch(63.1% 0.075 320)

  7. Step 600

    600 (this color)

    #845F8D

    oklch(54.1% 0.082 319.6)

  8. Step 700

    700

    #74527C

    oklch(49.1% 0.077 319.8)

  9. Step 800

    800

    #5E4365

    oklch(42.6% 0.064 319.2)

  10. Step 900

    900

    #4D3952

    oklch(37.7% 0.049 319.5)

  11. Step 950

    950

    #2D2130

    oklch(26.8% 0.032 319.5)

Export this scale for Tailwind in the Tailwind colors tool

#845F8D 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)#596A8F0.070
Deuteranopia (no green cones)#626D8C0.063
Tritanopia (no blue cones)#8564700.052
Achromatopsia (no color)#6C6C6C0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #845F8D

    #845F8D

    oklch(54.1% 0.082 319.6)

  • #557B4C

    #557B4C

    oklch(54.2% 0.083 139.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845F8D

    #845F8D

    oklch(54.1% 0.082 319.6)

  • #6E679C

    #6E679C

    oklch(54.2% 0.082 289.4)

  • #935B76

    #935B76

    oklch(54.2% 0.082 349.8)

Open the analogous palette in the generator

Split complementary

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

  • #845F8D

    #845F8D

    oklch(54.1% 0.082 319.6)

  • #727337

    #727337

    oklch(54.1% 0.082 109.7)

  • #357E67

    #357E67

    oklch(54% 0.082 169.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845F8D

    #845F8D

    oklch(54.1% 0.082 319.6)

  • #886933

    #886933

    oklch(54% 0.082 79.4)

  • #227D81

    #227D81

    oklch(54% 0.082 199.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845F8D

    #845F8D

    oklch(54.1% 0.082 319.6)

  • #966042

    #966042

    oklch(54.1% 0.083 49.4)

  • #557B4C

    #557B4C

    oklch(54.2% 0.083 139.7)

  • #347895

    #347895

    oklch(54.2% 0.082 229.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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