#845AD5

Closest named color: Purpley (#8756E4). oklch(57.3% 0.182 295.9), rgb(132, 90, 213).

Aa

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

About this color

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

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

Values

HEX#845AD5
RGBrgb(132, 90, 213)
HSLhsl(260, 59%, 59%)
OKLCHoklch(57.3% 0.182 295.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 #845AD5 4.76:1 AA Lc -78.2 Fine for body text
Black text on #845AD5 4.40:1 AA large text Lc 31.4 Non-text elements, placeholder text
#845AD5 text on white 4.76:1 AA Lc 72.7 Content text, not long reading
#845AD5 text on black 4.40:1 AA large text Lc -29.0 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F8

    oklch(93.6% 0.023 296.7)

  3. Step 200

    200

    #DBD4F4

    oklch(88.5% 0.044 295.5)

  4. Step 300

    300

    #C5B6F0

    oklch(80.9% 0.082 296.4)

  5. Step 400

    400

    #A88FE9

    oklch(70.8% 0.131 295.7)

  6. Step 500

    500

    #9470E2

    oklch(63.2% 0.167 295.8)

  7. Step 600

    600 (this color)

    #845AD5

    oklch(57.3% 0.182 295.9)

  8. Step 700

    700

    #6C44B3

    oklch(49.1% 0.168 296.2)

  9. Step 800

    800

    #583991

    oklch(42.7% 0.139 296.2)

  10. Step 900

    900

    #483274

    oklch(37.7% 0.109 296.1)

  11. Step 950

    950

    #2A1E44

    oklch(27% 0.069 296)

Export this scale for Tailwind in the Tailwind colors tool

#845AD5 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)#1373D90.125
Deuteranopia (no green cones)#2871D20.117
Tritanopia (no blue cones)#70748F0.142
Achromatopsia (no color)#7373730.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #845AD5

    #845AD5

    oklch(57.3% 0.182 295.9)

  • #758100

    #758100

    oklch(57.3% 0.131 116.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845AD5

    #845AD5

    oklch(57.3% 0.182 295.9)

  • #456EE2

    #456EE2

    oklch(57.2% 0.182 266.1)

  • #AC49B0

    #AC49B0

    oklch(57.3% 0.181 326.1)

Open the analogous palette in the generator

Split complementary

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

  • #845AD5

    #845AD5

    oklch(57.3% 0.182 295.9)

  • #977200

    #977200

    oklch(57.3% 0.117 85.9)

  • #00922C

    #00922C

    oklch(57.4% 0.176 145.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845AD5

    #845AD5

    oklch(57.3% 0.182 295.9)

  • #B55E00

    #B55E00

    oklch(57.4% 0.14 56)

  • #008C76

    #008C76

    oklch(57.2% 0.107 176.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845AD5

    #845AD5

    oklch(57.3% 0.182 295.9)

  • #CD3D3B

    #CD3D3B

    oklch(57.2% 0.181 25.7)

  • #758100

    #758100

    oklch(57.3% 0.131 116.1)

  • #008894

    #008894

    oklch(57.2% 0.098 205.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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