#845F95

Closest named color: Dark Lavender (#856798). oklch(54.4% 0.092 314.8), rgb(132, 95, 149).

Aa

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

About this color

#845F95 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 54%, its chroma 0.092 and its hue 315°. 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.18:1.

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

Values

HEX#845F95
RGBrgb(132, 95, 149)
HSLhsl(281, 22%, 48%)
OKLCHoklch(54.4% 0.092 314.8)

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 #845F95 5.18:1 AA Lc -81.0 Fine for body text
Black text on #845F95 4.05:1 AA large text Lc 28.5 Dividers and decoration only
#845F95 text on white 5.18:1 AA Lc 75.6 Fine for body text
#845F95 text on black 4.05: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

    #EDE8EF

    oklch(93.7% 0.011 316.5)

  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

    #B095BE

    oklch(70.8% 0.066 314)

  6. Step 500

    500

    #9D7AAD

    oklch(63.1% 0.084 315)

  7. Step 600

    600 (this color)

    #845F95

    oklch(54.4% 0.092 314.8)

  8. Step 700

    700

    #735182

    oklch(49.1% 0.086 315.1)

  9. Step 800

    800

    #5D436A

    oklch(42.7% 0.07 314)

  10. Step 900

    900

    #4D3856

    oklch(37.6% 0.057 315.5)

  11. Step 950

    950

    #2D2132

    oklch(27% 0.035 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#845F95 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)#566B970.074
Deuteranopia (no green cones)#5F6E930.068
Tritanopia (no blue cones)#8366730.063
Achromatopsia (no color)#6D6D6D0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #845F95

    #845F95

    oklch(54.4% 0.092 314.8)

  • #587C43

    #587C43

    oklch(54.5% 0.093 134.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845F95

    #845F95

    oklch(54.4% 0.092 314.8)

  • #6A68A4

    #6A68A4

    oklch(54.5% 0.093 284.4)

  • #96597C

    #96597C

    oklch(54.4% 0.092 345.2)

Open the analogous palette in the generator

Split complementary

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

  • #845F95

    #845F95

    oklch(54.4% 0.092 314.8)

  • #78732C

    #78732C

    oklch(54.5% 0.092 105.3)

  • #318162

    #318162

    oklch(54.5% 0.093 164.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845F95

    #845F95

    oklch(54.4% 0.092 314.8)

  • #8F672B

    #8F672B

    oklch(54.3% 0.092 74.5)

  • #058080

    #058080

    oklch(54.4% 0.092 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845F95

    #845F95

    oklch(54.4% 0.092 314.8)

  • #9C5E41

    #9C5E41

    oklch(54.5% 0.092 45.4)

  • #587C43

    #587C43

    oklch(54.5% 0.093 134.9)

  • #217B98

    #217B98

    oklch(54.5% 0.092 224.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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