#845F97

Closest named color: Dark Lavender (#856798). oklch(54.5% 0.095 313.7), rgb(132, 95, 151).

Aa

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

About this color

#845F97 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 55%, its chroma 0.095 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.021 away. White text reads best on it, at 5.16:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.06:1
White text5.16:1

Values

HEX#845F97
RGBrgb(132, 95, 151)
HSLhsl(280, 23%, 48%)
OKLCHoklch(54.5% 0.095 313.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 #845F97 5.16:1 AA Lc -80.9 Fine for body text
Black text on #845F97 4.06:1 AA large text Lc 28.6 Dividers and decoration only
#845F97 text on white 5.16:1 AA Lc 75.5 Fine for body text
#845F97 text on black 4.06:1 AA large text Lc -26.2 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

    #EDE8F0

    oklch(93.7% 0.012 313.2)

  3. Step 200

    200

    #DFD5E4

    oklch(88.5% 0.023 314.7)

  4. Step 300

    300

    #CBB9D4

    oklch(80.9% 0.042 314.6)

  5. Step 400

    400

    #B094BF

    oklch(70.6% 0.069 313.7)

  6. Step 500

    500

    #9C7AAF

    oklch(63.1% 0.086 313.1)

  7. Step 600

    600 (this color)

    #845F97

    oklch(54.5% 0.095 313.7)

  8. Step 700

    700

    #735184

    oklch(49.2% 0.088 313.9)

  9. Step 800

    800

    #5D436B

    oklch(42.8% 0.072 313.3)

  10. Step 900

    900

    #4C3857

    oklch(37.6% 0.057 313.1)

  11. Step 950

    950

    #2D2133

    oklch(27% 0.037 314.2)

Export this scale for Tailwind in the Tailwind colors tool

#845F97 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)#566B990.074
Deuteranopia (no green cones)#5E6E950.069
Tritanopia (no blue cones)#8366740.064
Achromatopsia (no color)#6D6D6D0.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #845F97

    #845F97

    oklch(54.5% 0.095 313.7)

  • #597C41

    #597C41

    oklch(54.5% 0.095 133.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845F97

    #845F97

    oklch(54.5% 0.095 313.7)

  • #6968A5

    #6968A5

    oklch(54.4% 0.094 283.6)

  • #96597E

    #96597E

    oklch(54.5% 0.094 343.5)

Open the analogous palette in the generator

Split complementary

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

  • #845F97

    #845F97

    oklch(54.5% 0.095 313.7)

  • #7A7329

    #7A7329

    oklch(54.7% 0.095 103.9)

  • #308161

    #308161

    oklch(54.5% 0.094 163.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845F97

    #845F97

    oklch(54.5% 0.095 313.7)

  • #916729

    #916729

    oklch(54.5% 0.095 73.8)

  • #008180

    #008180

    oklch(54.6% 0.093 193.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845F97

    #845F97

    oklch(54.5% 0.095 313.7)

  • #9E5D41

    #9E5D41

    oklch(54.6% 0.095 43.7)

  • #597C41

    #597C41

    oklch(54.5% 0.095 133.8)

  • #1B7C99

    #1B7C99

    oklch(54.7% 0.095 223.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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