#845F7D

Closest named color: Dusky Purple (#895B7B). oklch(53.4% 0.065 333.3), rgb(132, 95, 125).

Aa

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

About this color

#845F7D is a medium-dark, muted purple. In OKLCH its lightness is 53%, its chroma 0.065 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusky Purple (#895B7B), ΔE 0.013 away. White text reads best on it, at 5.36:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromamuted (0.065)
Temperaturein between
Nearest nameDusky Purple (#895B7B)
Black text3.91:1
White text5.36:1

Values

HEX#845F7D
RGBrgb(132, 95, 125)
HSLhsl(311, 16%, 45%)
OKLCHoklch(53.4% 0.065 333.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 #845F7D 5.36:1 AA Lc -82.0 Fine for body text
Black text on #845F7D 3.91:1 AA large text Lc 27.4 Dividers and decoration only
#845F7D text on white 5.36:1 AA Lc 76.7 Fine for body text
#845F7D 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

    #F7F4F6

    oklch(97% 0.004 337.4)

  2. Step 100

    100

    #EDE8EC

    oklch(93.6% 0.008 332.1)

  3. Step 200

    200

    #E0D5DE

    oklch(88.4% 0.017 331.6)

  4. Step 300

    300

    #CDBAC9

    oklch(80.9% 0.03 332.9)

  5. Step 400

    400

    #B396AD

    oklch(70.6% 0.047 333.2)

  6. Step 500

    500

    #A07C99

    oklch(63% 0.06 333.1)

  7. Step 600

    600 (this color)

    #845F7D

    oklch(53.4% 0.065 333.3)

  8. Step 700

    700

    #76546F

    oklch(49.1% 0.06 334)

  9. Step 800

    800

    #60455B

    oklch(42.8% 0.05 333)

  10. Step 900

    900

    #4E3A4A

    oklch(37.6% 0.038 333.4)

  11. Step 950

    950

    #2E222C

    oklch(27% 0.025 332)

Export this scale for Tailwind in the Tailwind colors tool

#845F7D 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)#5F677E0.061
Deuteranopia (no green cones)#676C7C0.057
Tritanopia (no blue cones)#8861690.034
Achromatopsia (no color)#6B6B6B0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #845F7D

    #845F7D

    oklch(53.4% 0.065 333.3)

  • #4F785B

    #4F785B

    oklch(53.4% 0.065 153)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845F7D

    #845F7D

    oklch(53.4% 0.065 333.3)

  • #75648C

    #75648C

    oklch(53.5% 0.064 303.7)

  • #8D5D69

    #8D5D69

    oklch(53.4% 0.065 3.2)

Open the analogous palette in the generator

Split complementary

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

  • #845F7D

    #845F7D

    oklch(53.4% 0.065 333.3)

  • #667349

    #667349

    oklch(53.4% 0.064 122.6)

  • #3D7971

    #3D7971

    oklch(53.3% 0.064 184.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845F7D

    #845F7D

    oklch(53.4% 0.065 333.3)

  • #7A6C40

    #7A6C40

    oklch(53.4% 0.064 92.4)

  • #3C7783

    #3C7783

    oklch(53.4% 0.064 212.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845F7D

    #845F7D

    oklch(53.4% 0.065 333.3)

  • #886545

    #886545

    oklch(53.5% 0.065 63.2)

  • #4F785B

    #4F785B

    oklch(53.4% 0.065 153)

  • #4B7190

    #4B7190

    oklch(53.3% 0.065 244.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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