#845F99

Closest named color: Dark Lavender (#856798). oklch(54.6% 0.097 312.7), rgb(132, 95, 153).

Aa

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

About this color

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

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

Values

HEX#845F99
RGBrgb(132, 95, 153)
HSLhsl(278, 23%, 49%)
OKLCHoklch(54.6% 0.097 312.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 #845F99 5.14:1 AA Lc -80.8 Fine for body text
Black text on #845F99 4.07:1 AA large text Lc 28.7 Dividers and decoration only
#845F99 text on white 5.14:1 AA Lc 75.4 Fine for body text
#845F99 text on black 4.07:1 AA large text Lc -26.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

    #EDE8F0

    oklch(93.7% 0.012 313.2)

  3. Step 200

    200

    #DFD5E5

    oklch(88.6% 0.024 313.1)

  4. Step 300

    300

    #CAB9D5

    oklch(80.9% 0.043 312.2)

  5. Step 400

    400

    #B094C0

    oklch(70.7% 0.07 313.1)

  6. Step 500

    500

    #9C79B0

    oklch(63% 0.09 312.8)

  7. Step 600

    600 (this color)

    #845F99

    oklch(54.6% 0.097 312.7)

  8. Step 700

    700

    #725185

    oklch(49.1% 0.089 312.5)

  9. Step 800

    800

    #5D426C

    oklch(42.6% 0.075 312.9)

  10. Step 900

    900

    #4C3858

    oklch(37.6% 0.059 312.3)

  11. Step 950

    950

    #2D2133

    oklch(27% 0.037 314.2)

Export this scale for Tailwind in the Tailwind colors tool

#845F99 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)#556B9B0.075
Deuteranopia (no green cones)#5D6E970.070
Tritanopia (no blue cones)#8267750.067
Achromatopsia (no color)#6D6D6D0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #845F99

    #845F99

    oklch(54.6% 0.097 312.7)

  • #5A7C3F

    #5A7C3F

    oklch(54.5% 0.096 132.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845F99

    #845F99

    oklch(54.6% 0.097 312.7)

  • #6869A7

    #6869A7

    oklch(54.7% 0.096 282)

  • #975980

    #975980

    oklch(54.7% 0.096 342.4)

Open the analogous palette in the generator

Split complementary

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

  • #845F99

    #845F99

    oklch(54.6% 0.097 312.7)

  • #7B7225

    #7B7225

    oklch(54.5% 0.097 102.6)

  • #2F8260

    #2F8260

    oklch(54.7% 0.097 162.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845F99

    #845F99

    oklch(54.6% 0.097 312.7)

  • #936727

    #936727

    oklch(54.8% 0.097 73)

  • #00817F

    #00817F

    oklch(54.5% 0.093 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845F99

    #845F99

    oklch(54.6% 0.097 312.7)

  • #9F5C41

    #9F5C41

    oklch(54.5% 0.097 42.4)

  • #5A7C3F

    #5A7C3F

    oklch(54.5% 0.096 132.7)

  • #137C99

    #137C99

    oklch(54.5% 0.097 222.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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