#845EC1

Closest named color: Deep Lavender (#8D5EB7). oklch(56.6% 0.15 299.3), rgb(132, 94, 193).

Aa

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

About this color

#845EC1 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.150 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.022 away. White text reads best on it, at 4.82:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.150)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.35:1
White text4.82:1

Values

HEX#845EC1
RGBrgb(132, 94, 193)
HSLhsl(263, 44%, 56%)
OKLCHoklch(56.6% 0.15 299.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 #845EC1 4.82:1 AA Lc -78.7 Fine for body text
Black text on #845EC1 4.35:1 AA large text Lc 30.8 Non-text elements, placeholder text
#845EC1 text on white 4.82:1 AA Lc 73.2 Content text, not long reading
#845EC1 text on black 4.35:1 AA large text Lc -28.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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE7F5

    oklch(93.5% 0.019 299.1)

  3. Step 200

    200

    #DCD4EF

    oklch(88.5% 0.038 299.2)

  4. Step 300

    300

    #C6B7E7

    oklch(80.8% 0.069 299.2)

  5. Step 400

    400

    #AA91DB

    oklch(70.7% 0.109 299.1)

  6. Step 500

    500

    #9674D1

    oklch(63.1% 0.139 299.3)

  7. Step 600

    600 (this color)

    #845EC1

    oklch(56.6% 0.15 299.3)

  8. Step 700

    700

    #6D4AA3

    oklch(49% 0.139 299.4)

  9. Step 800

    800

    #593D84

    oklch(42.6% 0.116 299.7)

  10. Step 900

    900

    #49356A

    oklch(37.7% 0.09 299.5)

  11. Step 950

    950

    #2B1F3E

    oklch(27% 0.058 300.4)

Export this scale for Tailwind in the Tailwind colors tool

#845EC1 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)#3B72C40.103
Deuteranopia (no green cones)#4571BF0.095
Tritanopia (no blue cones)#7771870.116
Achromatopsia (no color)#7272720.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #845EC1

    #845EC1

    oklch(56.6% 0.15 299.3)

  • #6E8100

    #6E8100

    oklch(56.8% 0.134 119.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845EC1

    #845EC1

    oklch(56.6% 0.15 299.3)

  • #536ECE

    #536ECE

    oklch(56.6% 0.151 269.3)

  • #A551A1

    #A551A1

    oklch(56.7% 0.15 329.1)

Open the analogous palette in the generator

Split complementary

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

  • #845EC1

    #845EC1

    oklch(56.6% 0.15 299.3)

  • #917200

    #917200

    oklch(56.6% 0.116 89.7)

  • #188E41

    #188E41

    oklch(56.8% 0.151 149.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845EC1

    #845EC1

    oklch(56.6% 0.15 299.3)

  • #AE5F00

    #AE5F00

    oklch(56.6% 0.134 59.2)

  • #008A78

    #008A78

    oklch(56.7% 0.103 179.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845EC1

    #845EC1

    oklch(56.6% 0.15 299.3)

  • #BF4C3F

    #BF4C3F

    oklch(56.7% 0.151 29.1)

  • #6E8100

    #6E8100

    oklch(56.8% 0.134 119.5)

  • #008695

    #008695

    oklch(56.7% 0.098 208.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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