#845AEF

Closest named color: Purpley (#8756E4). oklch(59.1% 0.213 291.5), rgb(132, 90, 239).

Aa

Black text reads best on this color (4.68:1).

About this color

#845AEF is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.213 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.019 away. Black text reads best on it, at 4.68:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.213)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.68:1
White text4.47:1

Values

HEX#845AEF
RGBrgb(132, 90, 239)
HSLhsl(257, 82%, 65%)
OKLCHoklch(59.1% 0.213 291.5)

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 #845AEF 4.47:1 AA large text Lc -76.1 Fine for body text
Black text on #845AEF 4.68:1 AA Lc 33.5 Non-text elements, placeholder text
#845AEF text on white 4.47:1 AA large text Lc 70.6 Content text, not long reading
#845AEF text on black 4.68:1 AA Lc -31.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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #EAE7FC

    oklch(93.7% 0.028 292.4)

  3. Step 200

    200

    #D9D4FA

    oklch(88.6% 0.052 291.3)

  4. Step 300

    300

    #C1B6FA

    oklch(80.9% 0.095 291.5)

  5. Step 400

    400

    #A38DF8

    oklch(70.8% 0.153 291.4)

  6. Step 500

    500

    #8E6CF4

    oklch(63.1% 0.195 291.3)

  7. Step 600

    600 (this color)

    #845AEF

    oklch(59.1% 0.213 291.5)

  8. Step 700

    700

    #673EC5

    oklch(49.1% 0.198 291.3)

  9. Step 800

    800

    #54349F

    oklch(42.6% 0.164 291.7)

  10. Step 900

    900

    #452F7E

    oklch(37.6% 0.128 291.9)

  11. Step 950

    950

    #281D4A

    oklch(27.1% 0.08 291.4)

Export this scale for Tailwind in the Tailwind colors tool

#845AEF 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)#0079F40.126
Deuteranopia (no green cones)#0074EC0.126
Tritanopia (no blue cones)#647D9C0.172
Achromatopsia (no color)#7777770.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #845AEF

    #845AEF

    oklch(59.1% 0.213 291.5)

  • #818400

    #818400

    oklch(59.1% 0.13 111.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845AEF

    #845AEF

    oklch(59.1% 0.213 291.5)

  • #2C73F9

    #2C73F9

    oklch(59% 0.213 261.6)

  • #B443C7

    #B443C7

    oklch(59% 0.213 321.6)

Open the analogous palette in the generator

Split complementary

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

  • #845AEF

    #845AEF

    oklch(59.1% 0.213 291.5)

  • #A27500

    #A27500

    oklch(59.2% 0.122 81.7)

  • #1A9800

    #1A9800

    oklch(59.1% 0.197 141.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845AEF

    #845AEF

    oklch(59.1% 0.213 291.5)

  • #C25D00

    #C25D00

    oklch(59.1% 0.153 51.5)

  • #009375

    #009375

    oklch(59.1% 0.115 171.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845AEF

    #845AEF

    oklch(59.1% 0.213 291.5)

  • #E02C40

    #E02C40

    oklch(59.1% 0.213 21.7)

  • #818400

    #818400

    oklch(59.1% 0.13 111.4)

  • #008F97

    #008F97

    oklch(59.2% 0.101 201.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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