#845CAA

Closest named color: Deep Lavender (#8D5EB7). oklch(55% 0.124 306.4), rgb(132, 92, 170).

Aa

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

About this color

#845CAA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 55%, its chroma 0.124 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.026 away. White text reads best on it, at 5.13:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.09:1
White text5.13:1

Values

HEX#845CAA
RGBrgb(132, 92, 170)
HSLhsl(271, 31%, 51%)
OKLCHoklch(55% 0.124 306.4)

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 #845CAA 5.13:1 AA Lc -80.6 Fine for body text
Black text on #845CAA 4.09:1 AA large text Lc 28.9 Dividers and decoration only
#845CAA text on white 5.13:1 AA Lc 75.2 Fine for body text
#845CAA text on black 4.09:1 AA large text Lc -26.5 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #ECE7F3

    oklch(93.5% 0.017 304.8)

  3. Step 200

    200

    #DED4EA

    oklch(88.5% 0.032 306.2)

  4. Step 300

    300

    #CAB8DE

    oklch(81% 0.056 306.6)

  5. Step 400

    400

    #AF92CD

    oklch(70.7% 0.09 306.7)

  6. Step 500

    500

    #9B76C0

    oklch(63.1% 0.115 306.4)

  7. Step 600

    600 (this color)

    #845CAA

    oklch(55% 0.124 306.4)

  8. Step 700

    700

    #714D94

    oklch(49.1% 0.116 306)

  9. Step 800

    800

    #5C3F78

    oklch(42.6% 0.097 306.2)

  10. Step 900

    900

    #4C3661

    oklch(37.7% 0.076 306.7)

  11. Step 950

    950

    #2C2039

    oklch(27% 0.048 305.5)

Export this scale for Tailwind in the Tailwind colors tool

#845CAA 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)#486CAD0.092
Deuteranopia (no green cones)#526EA80.084
Tritanopia (no blue cones)#7E697B0.091
Achromatopsia (no color)#6E6E6E0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #845CAA

    #845CAA

    oklch(55% 0.124 306.4)

  • #5F7E20

    #5F7E20

    oklch(55% 0.124 126.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845CAA

    #845CAA

    oklch(55% 0.124 306.4)

  • #5F69B9

    #5F69B9

    oklch(55% 0.124 276.1)

  • #9E528C

    #9E528C

    oklch(55% 0.125 336.8)

Open the analogous palette in the generator

Split complementary

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

  • #845CAA

    #845CAA

    oklch(55% 0.124 306.4)

  • #857000

    #857000

    oklch(54.9% 0.113 96)

  • #198652

    #198652

    oklch(54.9% 0.124 156.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845CAA

    #845CAA

    oklch(55% 0.124 306.4)

  • #A06100

    #A06100

    oklch(55% 0.122 66.9)

  • #00837A

    #00837A

    oklch(54.9% 0.096 186.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845CAA

    #845CAA

    oklch(55% 0.124 306.4)

  • #AD533A

    #AD533A

    oklch(54.9% 0.124 36.4)

  • #5F7E20

    #5F7E20

    oklch(55% 0.124 126.3)

  • #007F96

    #007F96

    oklch(55% 0.098 216.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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