#845AE6

Closest named color: Purpley (#8756E4). oklch(58.5% 0.202 292.9), rgb(132, 90, 230).

Aa

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

About this color

#845AE6 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.202 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.010 away. Black text reads best on it, at 4.58:1.

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

Values

HEX#845AE6
RGBrgb(132, 90, 230)
HSLhsl(258, 74%, 63%)
OKLCHoklch(58.5% 0.202 292.9)

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 #845AE6 4.57:1 AA Lc -76.8 Fine for body text
Black text on #845AE6 4.58:1 AA Lc 32.7 Non-text elements, placeholder text
#845AE6 text on white 4.57:1 AA Lc 71.4 Content text, not long reading
#845AE6 text on black 4.58:1 AA Lc -30.3 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

    #C2B6F7

    oklch(80.9% 0.091 292.7)

  5. Step 400

    400

    #A58DF2

    oklch(70.7% 0.145 293.2)

  6. Step 500

    500

    #906DEE

    oklch(63.1% 0.186 292.8)

  7. Step 600

    600 (this color)

    #845AE6

    oklch(58.5% 0.202 292.9)

  8. Step 700

    700

    #6940BF

    oklch(49.1% 0.188 293)

  9. Step 800

    800

    #55369B

    oklch(42.7% 0.156 292.7)

  10. Step 900

    900

    #46307B

    oklch(37.7% 0.122 293.2)

  11. Step 950

    950

    #291D48

    oklch(27% 0.077 293.4)

Export this scale for Tailwind in the Tailwind colors tool

#845AE6 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)#0077EA0.127
Deuteranopia (no green cones)#0073E30.127
Tritanopia (no blue cones)#697A980.161
Achromatopsia (no color)#7575750.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #845AE6

    #845AE6

    oklch(58.5% 0.202 292.9)

  • #7D8300

    #7D8300

    oklch(58.5% 0.13 113)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845AE6

    #845AE6

    oklch(58.5% 0.202 292.9)

  • #3672F1

    #3672F1

    oklch(58.5% 0.201 262.8)

  • #B145BF

    #B145BF

    oklch(58.4% 0.202 322.9)

Open the analogous palette in the generator

Split complementary

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

  • #845AE6

    #845AE6

    oklch(58.5% 0.202 292.9)

  • #9E7400

    #9E7400

    oklch(58.5% 0.12 83.2)

  • #00960B

    #00960B

    oklch(58.4% 0.196 142.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845AE6

    #845AE6

    oklch(58.5% 0.202 292.9)

  • #BD5D00

    #BD5D00

    oklch(58.4% 0.148 52.9)

  • #009175

    #009175

    oklch(58.5% 0.113 172.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845AE6

    #845AE6

    oklch(58.5% 0.202 292.9)

  • #DA333E

    #DA333E

    oklch(58.5% 0.202 23)

  • #7D8300

    #7D8300

    oklch(58.5% 0.13 113)

  • #008C96

    #008C96

    oklch(58.3% 0.099 203.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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