#5945A7

Closest named color: Blueberry (#464196). oklch(46.5% 0.151 288.5), rgb(89, 69, 167).

Aa

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

About this color

#5945A7 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.151 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.043 away. White text reads best on it, at 7.40:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.151)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.83:1
White text7.40:1

Values

HEX#5945A7
RGBrgb(89, 69, 167)
HSLhsl(252, 42%, 46%)
OKLCHoklch(46.5% 0.151 288.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 #5945A7 7.40:1 AAA Lc -90.3 Preferred for body text
Black text on #5945A7 2.83:1 Fails Lc 18.6 Dividers and decoration only
#5945A7 text on white 7.40:1 AAA Lc 85.4 Fine for body text
#5945A7 text on black 2.83:1 Fails Lc -16.6 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 700.

  1. Step 50

    50

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D7D5F3

    oklch(88.4% 0.041 288.6)

  4. Step 300

    300

    #BEBAEE

    oklch(81% 0.073 288.2)

  5. Step 400

    400

    #9E94E5

    oklch(70.7% 0.117 288.7)

  6. Step 500

    500

    #8777DD

    oklch(63% 0.15 288.5)

  7. Step 600

    600

    #725ECB

    oklch(55.6% 0.162 288.4)

  8. Step 700

    700 (this color)

    #5945A7

    oklch(46.5% 0.151 288.5)

  9. Step 800

    800

    #4E408E

    oklch(42.8% 0.124 288.2)

  10. Step 900

    900

    #413771

    oklch(37.8% 0.096 288.9)

  11. Step 950

    950

    #262042

    oklch(26.9% 0.062 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#5945A7 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)#0058AA0.088
Deuteranopia (no green cones)#0053A50.087
Tritanopia (no blue cones)#405B6F0.125
Achromatopsia (no color)#5555550.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #5945A7

    #5945A7

    oklch(46.5% 0.151 288.5)

  • #5F5D00

    #5F5D00

    oklch(46.5% 0.1 108.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5945A7

    #5945A7

    oklch(46.5% 0.151 288.5)

  • #1A56AC

    #1A56AC

    oklch(46.6% 0.151 258.4)

  • #7B368E

    #7B368E

    oklch(46.4% 0.151 318.4)

Open the analogous palette in the generator

Split complementary

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

  • #5945A7

    #5945A7

    oklch(46.5% 0.151 288.5)

  • #765100

    #765100

    oklch(46.3% 0.097 78.3)

  • #266B00

    #266B00

    oklch(46.5% 0.145 138.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5945A7

    #5945A7

    oklch(46.5% 0.151 288.5)

  • #8F3E00

    #8F3E00

    oklch(46.5% 0.126 48.3)

  • #006A50

    #006A50

    oklch(46.6% 0.094 168.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5945A7

    #5945A7

    oklch(46.5% 0.151 288.5)

  • #9C2837

    #9C2837

    oklch(46.5% 0.151 18.4)

  • #5F5D00

    #5F5D00

    oklch(46.5% 0.1 108.3)

  • #00676A

    #00676A

    oklch(46.6% 0.079 198.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5945A7 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.