#845AE3

Closest named color: Purpley (#8756E4). oklch(58.2% 0.199 293.4), rgb(132, 90, 227).

Aa

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

About this color

#845AE3 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.199 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.009 away. White text reads best on it, at 4.61:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.199)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.55:1
White text4.61:1

Values

HEX#845AE3
RGBrgb(132, 90, 227)
HSLhsl(258, 71%, 62%)
OKLCHoklch(58.2% 0.199 293.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 #845AE3 4.61:1 AA Lc -77.1 Fine for body text
Black text on #845AE3 4.55:1 AA Lc 32.5 Non-text elements, placeholder text
#845AE3 text on white 4.61:1 AA Lc 71.6 Content text, not long reading
#845AE3 text on black 4.55:1 AA Lc -30.1 Non-text elements, placeholder text

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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #EAE7FA

    oklch(93.6% 0.026 293.1)

  3. Step 200

    200

    #DAD4F8

    oklch(88.6% 0.049 293)

  4. Step 300

    300

    #C3B6F6

    oklch(80.9% 0.09 293.6)

  5. Step 400

    400

    #A58EF1

    oklch(70.8% 0.143 293.1)

  6. Step 500

    500

    #916EEC

    oklch(63.2% 0.183 293.3)

  7. Step 600

    600 (this color)

    #845AE3

    oklch(58.2% 0.199 293.4)

  8. Step 700

    700

    #6941BD

    oklch(49.1% 0.185 293.2)

  9. Step 800

    800

    #563799

    oklch(42.8% 0.152 293.5)

  10. Step 900

    900

    #46317A

    oklch(37.8% 0.119 293.1)

  11. Step 950

    950

    #291D47

    oklch(26.9% 0.076 293.9)

Export this scale for Tailwind in the Tailwind colors tool

#845AE3 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)#0077E70.128
Deuteranopia (no green cones)#0072E00.128
Tritanopia (no blue cones)#6A79960.159
Achromatopsia (no color)#7575750.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #845AE3

    #845AE3

    oklch(58.2% 0.199 293.4)

  • #7C8200

    #7C8200

    oklch(58.2% 0.13 113)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845AE3

    #845AE3

    oklch(58.2% 0.199 293.4)

  • #3971EE

    #3971EE

    oklch(58.2% 0.198 263.4)

  • #B046BD

    #B046BD

    oklch(58.2% 0.199 323.2)

Open the analogous palette in the generator

Split complementary

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

  • #845AE3

    #845AE3

    oklch(58.2% 0.199 293.4)

  • #9D7300

    #9D7300

    oklch(58.2% 0.12 83)

  • #009515

    #009515

    oklch(58.1% 0.192 143.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845AE3

    #845AE3

    oklch(58.2% 0.199 293.4)

  • #BC5D00

    #BC5D00

    oklch(58.3% 0.148 53.2)

  • #009075

    #009075

    oklch(58.3% 0.112 173.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845AE3

    #845AE3

    oklch(58.2% 0.199 293.4)

  • #D8353D

    #D8353D

    oklch(58.3% 0.199 23.6)

  • #7C8200

    #7C8200

    oklch(58.2% 0.13 113)

  • #008C95

    #008C95

    oklch(58.3% 0.099 202.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #845AE3.

Similar named colors

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

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