#845F8E

Closest named color: Dusty Purple (#825F87). oklch(54.1% 0.083 319), rgb(132, 95, 142).

Aa

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

About this color

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

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

Values

HEX#845F8E
RGBrgb(132, 95, 142)
HSLhsl(287, 20%, 46%)
OKLCHoklch(54.1% 0.083 319)

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 #845F8E 5.23:1 AA Lc -81.3 Fine for body text
Black text on #845F8E 4.00:1 AA large text Lc 28.2 Dividers and decoration only
#845F8E text on white 5.23:1 AA Lc 75.9 Fine for body text
#845F8E 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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EDE8EF

    oklch(93.7% 0.011 316.5)

  3. Step 200

    200

    #DFD5E2

    oklch(88.5% 0.021 318.4)

  4. Step 300

    300

    #CBB9D0

    oklch(80.8% 0.037 318.8)

  5. Step 400

    400

    #B195B9

    oklch(70.7% 0.06 318.7)

  6. Step 500

    500

    #9E7BA7

    oklch(63.2% 0.076 319.3)

  7. Step 600

    600 (this color)

    #845F8E

    oklch(54.1% 0.083 319)

  8. Step 700

    700

    #74527D

    oklch(49.1% 0.078 319.1)

  9. Step 800

    800

    #5E4365

    oklch(42.6% 0.064 319.2)

  10. Step 900

    900

    #4D3953

    oklch(37.7% 0.05 318.3)

  11. Step 950

    950

    #2D2130

    oklch(26.8% 0.032 319.5)

Export this scale for Tailwind in the Tailwind colors tool

#845F8E 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)#596A900.070
Deuteranopia (no green cones)#626D8C0.064
Tritanopia (no blue cones)#8464700.054
Achromatopsia (no color)#6C6C6C0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #845F8E

    #845F8E

    oklch(54.1% 0.083 319)

  • #557B4B

    #557B4B

    oklch(54.2% 0.084 139.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845F8E

    #845F8E

    oklch(54.1% 0.083 319)

  • #6D679D

    #6D679D

    oklch(54.2% 0.083 288.4)

  • #935A77

    #935A77

    oklch(54% 0.084 348.4)

Open the analogous palette in the generator

Split complementary

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

  • #845F8E

    #845F8E

    oklch(54.1% 0.083 319)

  • #737336

    #737336

    oklch(54.2% 0.083 108.9)

  • #347F67

    #347F67

    oklch(54.2% 0.084 169.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845F8E

    #845F8E

    oklch(54.1% 0.083 319)

  • #896932

    #896932

    oklch(54.1% 0.083 79)

  • #1F7E81

    #1F7E81

    oklch(54.2% 0.084 198.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845F8E

    #845F8E

    oklch(54.1% 0.083 319)

  • #966042

    #966042

    oklch(54.1% 0.083 49.4)

  • #557B4B

    #557B4B

    oklch(54.2% 0.084 139.3)

  • #327896

    #327896

    oklch(54.1% 0.084 229.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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