#845B98

Closest named color: Muted Purple (#805B87). oklch(53.9% 0.103 314.1), rgb(132, 91, 152).

Aa

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

About this color

#845B98 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 54%, its chroma 0.103 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Muted Purple (#805B87), ΔE 0.028 away. White text reads best on it, at 5.34:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameMuted Purple (#805B87)
Black text3.93:1
White text5.34:1

Values

HEX#845B98
RGBrgb(132, 91, 152)
HSLhsl(280, 25%, 48%)
OKLCHoklch(53.9% 0.103 314.1)

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 #845B98 5.34:1 AA Lc -81.8 Fine for body text
Black text on #845B98 3.93:1 AA large text Lc 27.6 Dividers and decoration only
#845B98 text on white 5.34:1 AA Lc 76.5 Fine for body text
#845B98 text on black 3.93:1 AA large text Lc -25.3 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

    #EDE7F0

    oklch(93.5% 0.014 314.8)

  3. Step 200

    200

    #DFD4E5

    oklch(88.4% 0.026 313.9)

  4. Step 300

    300

    #CCB8D6

    oklch(80.9% 0.047 314.5)

  5. Step 400

    400

    #B293C1

    oklch(70.7% 0.074 314.6)

  6. Step 500

    500

    #9E78B2

    oklch(63.1% 0.095 313.6)

  7. Step 600

    600 (this color)

    #845B98

    oklch(53.9% 0.103 314.1)

  8. Step 700

    700

    #744F87

    oklch(49.1% 0.096 313.5)

  9. Step 800

    800

    #5F416D

    oklch(42.7% 0.079 314.5)

  10. Step 900

    900

    #4E3759

    oklch(37.7% 0.063 314.4)

  11. Step 950

    950

    #2D2134

    oklch(27.1% 0.038 312.6)

Export this scale for Tailwind in the Tailwind colors tool

#845B98 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)#50689A0.083
Deuteranopia (no green cones)#5A6C960.077
Tritanopia (no blue cones)#8363720.070
Achromatopsia (no color)#6B6B6B0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #845B98

    #845B98

    oklch(53.9% 0.103 314.1)

  • #557B3A

    #557B3A

    oklch(53.9% 0.103 133.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845B98

    #845B98

    oklch(53.9% 0.103 314.1)

  • #6765A8

    #6765A8

    oklch(53.8% 0.103 283.7)

  • #98547D

    #98547D

    oklch(53.9% 0.104 344.1)

Open the analogous palette in the generator

Split complementary

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

  • #845B98

    #845B98

    oklch(53.9% 0.103 314.1)

  • #78711B

    #78711B

    oklch(53.9% 0.103 104.6)

  • #21815E

    #21815E

    oklch(53.9% 0.103 163.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845B98

    #845B98

    oklch(53.9% 0.103 314.1)

  • #91641B

    #91641B

    oklch(53.8% 0.103 74.4)

  • #007F7E

    #007F7E

    oklch(54% 0.092 193.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845B98

    #845B98

    oklch(53.9% 0.103 314.1)

  • #9F5939

    #9F5939

    oklch(53.9% 0.103 44.6)

  • #557B3A

    #557B3A

    oklch(53.9% 0.103 133.8)

  • #007A9A

    #007A9A

    oklch(53.9% 0.102 224.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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