#845EB3

Closest named color: Deep Lavender (#8D5EB7). oklch(55.8% 0.132 303), rgb(132, 94, 179).

Aa

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

About this color

#845EB3 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 56%, its chroma 0.132 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.96:1.

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

Values

HEX#845EB3
RGBrgb(132, 94, 179)
HSLhsl(267, 36%, 54%)
OKLCHoklch(55.8% 0.132 303)

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 #845EB3 4.96:1 AA Lc -79.6 Fine for body text
Black text on #845EB3 4.23:1 AA large text Lc 29.9 Dividers and decoration only
#845EB3 text on white 4.96:1 AA Lc 74.2 Content text, not long reading
#845EB3 text on black 4.23:1 AA large text Lc -27.6 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

    #ECE7F4

    oklch(93.6% 0.018 303.4)

  3. Step 200

    200

    #DDD4EC

    oklch(88.4% 0.034 302.7)

  4. Step 300

    300

    #C8B8E1

    oklch(80.9% 0.059 302.9)

  5. Step 400

    400

    #AC92D2

    oklch(70.7% 0.096 302.7)

  6. Step 500

    500

    #9876C6

    oklch(63.1% 0.122 302.6)

  7. Step 600

    600 (this color)

    #845EB3

    oklch(55.8% 0.132 303)

  8. Step 700

    700

    #6F4C99

    oklch(49% 0.123 303.1)

  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

    #2B203B

    oklch(27% 0.051 301.9)

Export this scale for Tailwind in the Tailwind colors tool

#845EB3 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)#466FB60.093
Deuteranopia (no green cones)#4F70B10.086
Tritanopia (no blue cones)#7C6D800.100
Achromatopsia (no color)#7070700.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #845EB3

    #845EB3

    oklch(55.8% 0.132 303)

  • #66800E

    #66800E

    oklch(55.9% 0.133 123)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845EB3

    #845EB3

    oklch(55.8% 0.132 303)

  • #5B6CC1

    #5B6CC1

    oklch(55.8% 0.133 272.9)

  • #A05395

    #A05395

    oklch(55.8% 0.132 332.7)

Open the analogous palette in the generator

Split complementary

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

  • #845EB3

    #845EB3

    oklch(55.8% 0.132 303)

  • #8B7100

    #8B7100

    oklch(55.8% 0.114 92.8)

  • #1E894D

    #1E894D

    oklch(55.7% 0.131 153.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845EB3

    #845EB3

    oklch(55.8% 0.132 303)

  • #A76000

    #A76000

    oklch(55.8% 0.127 62.8)

  • #008779

    #008779

    oklch(55.9% 0.1 182.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845EB3

    #845EB3

    oklch(55.8% 0.132 303)

  • #B4523E

    #B4523E

    oklch(55.8% 0.132 33.1)

  • #66800E

    #66800E

    oklch(55.9% 0.133 123)

  • #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 #845EB3, closest first.

Similar named colors

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

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