#845E99

Closest named color: Dark Lavender (#856798). oklch(54.5% 0.099 312.9), rgb(132, 94, 153).

Aa

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

About this color

#845E99 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 54%, its chroma 0.099 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.025 away. White text reads best on it, at 5.19:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.04:1
White text5.19:1

Values

HEX#845E99
RGBrgb(132, 94, 153)
HSLhsl(279, 24%, 48%)
OKLCHoklch(54.5% 0.099 312.9)

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 #845E99 5.19:1 AA Lc -81.0 Fine for body text
Black text on #845E99 4.04:1 AA large text Lc 28.4 Dividers and decoration only
#845E99 text on white 5.19:1 AA Lc 75.6 Fine for body text
#845E99 text on black 4.04:1 AA large text Lc -26.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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EDE7F0

    oklch(93.5% 0.014 314.8)

  3. Step 200

    200

    #DFD5E5

    oklch(88.6% 0.024 313.1)

  4. Step 300

    300

    #CBB9D6

    oklch(81% 0.045 312.8)

  5. Step 400

    400

    #B094C1

    oklch(70.7% 0.071 312.5)

  6. Step 500

    500

    #9D79B1

    oklch(63.1% 0.091 313.1)

  7. Step 600

    600 (this color)

    #845E99

    oklch(54.5% 0.099 312.9)

  8. Step 700

    700

    #735086

    oklch(49.1% 0.093 313)

  9. Step 800

    800

    #5D426D

    oklch(42.7% 0.076 312.2)

  10. Step 900

    900

    #4D3858

    oklch(37.8% 0.059 313.6)

  11. Step 950

    950

    #2D2134

    oklch(27.1% 0.038 312.6)

Export this scale for Tailwind in the Tailwind colors tool

#845E99 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)#546B9B0.077
Deuteranopia (no green cones)#5D6E970.071
Tritanopia (no blue cones)#8266740.069
Achromatopsia (no color)#6D6D6D0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #845E99

    #845E99

    oklch(54.5% 0.099 312.9)

  • #597C3D

    #597C3D

    oklch(54.4% 0.099 132.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845E99

    #845E99

    oklch(54.5% 0.099 312.9)

  • #6868A8

    #6868A8

    oklch(54.5% 0.099 282.6)

  • #97577F

    #97577F

    oklch(54.3% 0.099 342.8)

Open the analogous palette in the generator

Split complementary

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

  • #845E99

    #845E99

    oklch(54.5% 0.099 312.9)

  • #7B7222

    #7B7222

    oklch(54.5% 0.099 102.8)

  • #2C825F

    #2C825F

    oklch(54.5% 0.099 162.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845E99

    #845E99

    oklch(54.5% 0.099 312.9)

  • #936624

    #936624

    oklch(54.5% 0.099 72.9)

  • #00817F

    #00817F

    oklch(54.5% 0.093 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845E99

    #845E99

    oklch(54.5% 0.099 312.9)

  • #A05B3F

    #A05B3F

    oklch(54.5% 0.1 42.5)

  • #597C3D

    #597C3D

    oklch(54.4% 0.099 132.7)

  • #0B7C9A

    #0B7C9A

    oklch(54.5% 0.099 223.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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