#845FF6

Closest named color: Medium Slate Blue (#7B68EE). oklch(60.4% 0.215 289.7), rgb(132, 95, 246).

Aa

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

About this color

#845FF6 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.215 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.026 away. Black text reads best on it, at 4.94:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.215)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text4.94:1
White text4.24:1

Values

HEX#845FF6
RGBrgb(132, 95, 246)
HSLhsl(255, 89%, 67%)
OKLCHoklch(60.4% 0.215 289.7)

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 #845FF6 4.24:1 AA large text Lc -74.3 Content text, not long reading
Black text on #845FF6 4.94:1 AA Lc 35.3 Non-text elements, placeholder text
#845FF6 text on white 4.24:1 AA large text Lc 68.8 Content text, not long reading
#845FF6 text on black 4.94:1 AA Lc -32.8 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

    #BFB6FF

    oklch(81% 0.102 289.6)

  5. Step 400

    400

    #A08CFF

    oklch(70.8% 0.164 289.5)

  6. Step 500

    500 (this color)

    #845FF6

    oklch(60.4% 0.215 289.7)

  7. Step 600

    600

    #7849EF

    oklch(55.7% 0.233 289.6)

  8. Step 700

    700

    #6638D0

    oklch(49.2% 0.217 289.8)

  9. Step 800

    800

    #5230A8

    oklch(42.6% 0.18 289.5)

  10. Step 900

    900

    #432D85

    oklch(37.7% 0.14 289.4)

  11. Step 950

    950

    #271C4E

    oklch(27.1% 0.088 289.3)

Export this scale for Tailwind in the Tailwind colors tool

#845FF6 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)#007EFB0.123
Deuteranopia (no green cones)#0077F30.121
Tritanopia (no blue cones)#6082A20.174
Achromatopsia (no color)#7B7B7B0.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #845FF6

    #845FF6

    oklch(60.4% 0.215 289.7)

  • #878700

    #878700

    oklch(60.3% 0.132 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845FF6

    #845FF6

    oklch(60.4% 0.215 289.7)

  • #2279FF

    #2279FF

    oklch(60.5% 0.215 259.6)

  • #B648CF

    #B648CF

    oklch(60.3% 0.215 319.7)

Open the analogous palette in the generator

Split complementary

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

  • #845FF6

    #845FF6

    oklch(60.4% 0.215 289.7)

  • #A87700

    #A87700

    oklch(60.3% 0.125 79.8)

  • #319B00

    #319B00

    oklch(60.5% 0.193 139.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845FF6

    #845FF6

    oklch(60.4% 0.215 289.7)

  • #CA5D00

    #CA5D00

    oklch(60.3% 0.161 49.5)

  • #009876

    #009876

    oklch(60.4% 0.12 169.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845FF6

    #845FF6

    oklch(60.4% 0.215 289.7)

  • #E52F49

    #E52F49

    oklch(60.3% 0.215 19.6)

  • #878700

    #878700

    oklch(60.3% 0.132 109.8)

  • #009399

    #009399

    oklch(60.3% 0.102 199.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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