#845F8A

Closest named color: Dusty Purple (#825F87). oklch(54% 0.079 321.7), rgb(132, 95, 138).

Aa

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

About this color

#845F8A is a medium-dark, moderately saturated purple. In OKLCH its lightness is 54%, its chroma 0.079 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.006 away. White text reads best on it, at 5.26:1.

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

Values

HEX#845F8A
RGBrgb(132, 95, 138)
HSLhsl(292, 18%, 46%)
OKLCHoklch(54% 0.079 321.7)

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 #845F8A 5.26:1 AA Lc -81.5 Fine for body text
Black text on #845F8A 3.98:1 AA large text Lc 28.0 Dividers and decoration only
#845F8A text on white 5.26:1 AA Lc 76.1 Fine for body text
#845F8A text on black 3.98:1 AA large text Lc -25.6 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

    #DFD5E1

    oklch(88.5% 0.019 320.6)

  4. Step 300

    300

    #CCB9CF

    oklch(80.8% 0.037 321.6)

  5. Step 400

    400

    #B295B6

    oklch(70.7% 0.057 322.2)

  6. Step 500

    500

    #9E7BA4

    oklch(63.1% 0.072 321.4)

  7. Step 600

    600 (this color)

    #845F8A

    oklch(54% 0.079 321.7)

  8. Step 700

    700

    #74537A

    oklch(49.2% 0.073 321.2)

  9. Step 800

    800

    #5F4463

    oklch(42.8% 0.06 322.1)

  10. Step 900

    900

    #4D3951

    oklch(37.6% 0.048 320.7)

  11. Step 950

    950

    #2D222F

    oklch(27% 0.028 321.1)

Export this scale for Tailwind in the Tailwind colors tool

#845F8A 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)#5B698C0.067
Deuteranopia (no green cones)#636D890.062
Tritanopia (no blue cones)#85636F0.048
Achromatopsia (no color)#6C6C6C0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #845F8A

    #845F8A

    oklch(54% 0.079 321.7)

  • #547A4F

    #547A4F

    oklch(53.9% 0.078 141.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845F8A

    #845F8A

    oklch(54% 0.079 321.7)

  • #6F6699

    #6F6699

    oklch(53.9% 0.079 291.6)

  • #925B74

    #925B74

    oklch(54% 0.079 351.3)

Open the analogous palette in the generator

Split complementary

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

  • #845F8A

    #845F8A

    oklch(54% 0.079 321.7)

  • #70733B

    #70733B

    oklch(54% 0.078 111.4)

  • #377D69

    #377D69

    oklch(53.9% 0.078 172)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845F8A

    #845F8A

    oklch(54% 0.079 321.7)

  • #866A35

    #866A35

    oklch(54% 0.079 81.7)

  • #287C82

    #287C82

    oklch(54% 0.079 201.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845F8A

    #845F8A

    oklch(54% 0.079 321.7)

  • #936143

    #936143

    oklch(53.9% 0.078 51.4)

  • #547A4F

    #547A4F

    oklch(53.9% 0.078 141.6)

  • #397794

    #397794

    oklch(54.1% 0.078 230.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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