#7A5791

Closest named color: Muted Purple (#805B87). oklch(51.7% 0.097 311.1), rgb(122, 87, 145).

Aa

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

About this color

#7A5791 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 52%, its chroma 0.097 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Muted Purple (#805B87), ΔE 0.025 away. White text reads best on it, at 5.83:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameMuted Purple (#805B87)
Black text3.59:1
White text5.83:1

Values

HEX#7A5791
RGBrgb(122, 87, 145)
HSLhsl(276, 25%, 45%)
OKLCHoklch(51.7% 0.097 311.1)

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 #7A5791 5.83:1 AA Lc -84.3 Fine for body text
Black text on #7A5791 3.59:1 AA large text Lc 25.0 Dividers and decoration only
#7A5791 text on white 5.83:1 AA Lc 79.1 Fine for body text
#7A5791 text on black 3.59:1 AA large text Lc -22.7 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F1

    oklch(93.6% 0.015 312.2)

  3. Step 200

    200

    #DFD5E6

    oklch(88.6% 0.025 311.7)

  4. Step 300

    300

    #CAB9D7

    oklch(80.9% 0.045 310.6)

  5. Step 400

    400

    #B094C4

    oklch(70.8% 0.075 310.9)

  6. Step 500

    500

    #9C78B4

    oklch(63% 0.096 311.2)

  7. Step 600

    600

    #8761A0

    oklch(55.7% 0.104 311.1)

  8. Step 700

    700 (this color)

    #7A5791

    oklch(51.7% 0.097 311.1)

  9. Step 800

    800

    #5D416F

    oklch(42.6% 0.081 311.3)

  10. Step 900

    900

    #4C385A

    oklch(37.7% 0.062 310.6)

  11. Step 950

    950

    #2D2135

    oklch(27.1% 0.04 311.2)

Export this scale for Tailwind in the Tailwind colors tool

#7A5791 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)#4C63930.074
Deuteranopia (no green cones)#54668F0.069
Tritanopia (no blue cones)#785F6D0.068
Achromatopsia (no color)#6565650.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A5791

    #7A5791

    oklch(51.7% 0.097 311.1)

  • #547335

    #547335

    oklch(51.6% 0.096 131)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A5791

    #7A5791

    oklch(51.7% 0.097 311.1)

  • #5F619F

    #5F619F

    oklch(51.9% 0.097 281)

  • #8D5079

    #8D5079

    oklch(51.6% 0.098 340.5)

Open the analogous palette in the generator

Split complementary

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

  • #7A5791

    #7A5791

    oklch(51.7% 0.097 311.1)

  • #74691A

    #74691A

    oklch(51.6% 0.097 101.1)

  • #277956

    #277956

    oklch(51.7% 0.097 161.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A5791

    #7A5791

    oklch(51.7% 0.097 311.1)

  • #8B5D1E

    #8B5D1E

    oklch(51.7% 0.097 70.4)

  • #007874

    #007874

    oklch(51.7% 0.089 190.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A5791

    #7A5791

    oklch(51.7% 0.097 311.1)

  • #96533A

    #96533A

    oklch(51.6% 0.097 40.9)

  • #547335

    #547335

    oklch(51.6% 0.096 131)

  • #00748E

    #00748E

    oklch(51.7% 0.095 220.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7A5791 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.