#845EB2

Closest named color: Deep Lavender (#8D5EB7). oklch(55.8% 0.131 303.3), rgb(132, 94, 178).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.22:1
White text4.97:1

Values

HEX#845EB2
RGBrgb(132, 94, 178)
HSLhsl(267, 35%, 53%)
OKLCHoklch(55.8% 0.131 303.3)

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 #845EB2 4.97:1 AA Lc -79.6 Fine for body text
Black text on #845EB2 4.22:1 AA large text Lc 29.9 Dividers and decoration only
#845EB2 text on white 4.97:1 AA Lc 74.2 Content text, not long reading
#845EB2 text on black 4.22:1 AA large text Lc -27.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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #ECE7F3

    oklch(93.5% 0.017 304.8)

  3. Step 200

    200

    #DDD4EB

    oklch(88.4% 0.033 303.4)

  4. Step 300

    300

    #C8B8E1

    oklch(80.9% 0.059 302.9)

  5. Step 400

    400

    #AD92D1

    oklch(70.7% 0.095 303.7)

  6. Step 500

    500

    #9976C5

    oklch(63.1% 0.121 303.5)

  7. Step 600

    600 (this color)

    #845EB2

    oklch(55.8% 0.131 303.3)

  8. Step 700

    700

    #6F4D99

    oklch(49.1% 0.122 302.8)

  9. Step 800

    800

    #5B3F7C

    oklch(42.7% 0.102 303.6)

  10. Step 900

    900

    #4A3664

    oklch(37.7% 0.079 302.8)

  11. Step 950

    950

    #2B203A

    oklch(26.9% 0.049 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#845EB2 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)#466FB50.093
Deuteranopia (no green cones)#5070B00.085
Tritanopia (no blue cones)#7C6D7F0.100
Achromatopsia (no color)#7070700.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #845EB2

    #845EB2

    oklch(55.8% 0.131 303.3)

  • #658012

    #658012

    oklch(55.9% 0.132 123.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845EB2

    #845EB2

    oklch(55.8% 0.131 303.3)

  • #5C6CC0

    #5C6CC0

    oklch(55.8% 0.131 273.3)

  • #A05394

    #A05394

    oklch(55.7% 0.132 333.3)

Open the analogous palette in the generator

Split complementary

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

  • #845EB2

    #845EB2

    oklch(55.8% 0.131 303.3)

  • #8B7100

    #8B7100

    oklch(55.8% 0.114 92.8)

  • #1F894E

    #1F894E

    oklch(55.7% 0.13 153.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845EB2

    #845EB2

    oklch(55.8% 0.131 303.3)

  • #A66000

    #A66000

    oklch(55.7% 0.127 63.3)

  • #00867A

    #00867A

    oklch(55.7% 0.099 183.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845EB2

    #845EB2

    oklch(55.8% 0.131 303.3)

  • #B3523E

    #B3523E

    oklch(55.7% 0.131 33.2)

  • #658012

    #658012

    oklch(55.9% 0.132 123.6)

  • #008296

    #008296

    oklch(55.7% 0.098 213.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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