#845AF3

Closest named color: Purpley (#8756E4). oklch(59.4% 0.218 290.9), rgb(132, 90, 243).

Aa

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

About this color

#845AF3 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.218 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.024 away. Black text reads best on it, at 4.73:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.218)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.73:1
White text4.43:1

Values

HEX#845AF3
RGBrgb(132, 90, 243)
HSLhsl(256, 86%, 65%)
OKLCHoklch(59.4% 0.218 290.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 #845AF3 4.43:1 AA large text Lc -75.7 Fine for body text
Black text on #845AF3 4.73:1 AA Lc 33.9 Non-text elements, placeholder text
#845AF3 text on white 4.43:1 AA large text Lc 70.2 Content text, not long reading
#845AF3 text on black 4.73:1 AA Lc -31.4 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 500.

  1. Step 50

    50

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #E9E7FE

    oklch(93.6% 0.031 289.8)

  3. Step 200

    200

    #D8D3FE

    oklch(88.5% 0.059 290.5)

  4. Step 300

    300

    #C0B5FF

    oklch(80.9% 0.104 290.7)

  5. Step 400

    400

    #A28BFF

    oklch(70.7% 0.166 290.7)

  6. Step 500

    500 (this color)

    #845AF3

    oklch(59.4% 0.218 290.9)

  7. Step 600

    600

    #7B46EF

    oklch(55.6% 0.237 291)

  8. Step 700

    700

    #6835D0

    oklch(49% 0.22 291)

  9. Step 800

    800

    #542EA8

    oklch(42.6% 0.182 290.8)

  10. Step 900

    900

    #452C85

    oklch(37.7% 0.141 291)

  11. Step 950

    950

    #281B4E

    oklch(27% 0.09 290.9)

Export this scale for Tailwind in the Tailwind colors tool

#845AF3 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)#007AF80.126
Deuteranopia (no green cones)#0074F00.125
Tritanopia (no blue cones)#627E9E0.176
Achromatopsia (no color)#7878780.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #845AF3

    #845AF3

    oklch(59.4% 0.218 290.9)

  • #838500

    #838500

    oklch(59.5% 0.131 110.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845AF3

    #845AF3

    oklch(59.4% 0.218 290.9)

  • #2674FD

    #2674FD

    oklch(59.4% 0.218 260.9)

  • #B543CB

    #B543CB

    oklch(59.4% 0.217 320.8)

Open the analogous palette in the generator

Split complementary

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

  • #845AF3

    #845AF3

    oklch(59.4% 0.218 290.9)

  • #A37500

    #A37500

    oklch(59.3% 0.123 81.1)

  • #239800

    #239800

    oklch(59.3% 0.195 140.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845AF3

    #845AF3

    oklch(59.4% 0.218 290.9)

  • #C45D00

    #C45D00

    oklch(59.4% 0.155 51)

  • #009475

    #009475

    oklch(59.3% 0.116 171.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845AF3

    #845AF3

    oklch(59.4% 0.218 290.9)

  • #E32841

    #E32841

    oklch(59.4% 0.218 21)

  • #838500

    #838500

    oklch(59.5% 0.131 110.8)

  • #009097

    #009097

    oklch(59.4% 0.101 200.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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