#7B5797

Closest named color: Muted Purple (#805B87). oklch(52.1% 0.105 309), rgb(123, 87, 151).

Aa

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

About this color

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

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

Values

HEX#7B5797
RGBrgb(123, 87, 151)
HSLhsl(274, 27%, 47%)
OKLCHoklch(52.1% 0.105 309)

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 #7B5797 5.74:1 AA Lc -83.9 Fine for body text
Black text on #7B5797 3.65:1 AA large text Lc 25.4 Dividers and decoration only
#7B5797 text on white 5.74:1 AA Lc 78.6 Fine for body text
#7B5797 text on black 3.65:1 AA large text Lc -23.2 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

    #EDE7F2

    oklch(93.6% 0.016 310.1)

  3. Step 200

    200

    #DED4E8

    oklch(88.4% 0.029 308.1)

  4. Step 300

    300

    #CAB8DA

    oklch(80.8% 0.051 309)

  5. Step 400

    400

    #AF93C8

    oklch(70.7% 0.082 308.4)

  6. Step 500

    500

    #9C77B9

    oklch(63% 0.105 309.3)

  7. Step 600

    600

    #875FA5

    oklch(55.6% 0.114 309.4)

  8. Step 700

    700 (this color)

    #7B5797

    oklch(52.1% 0.105 309)

  9. Step 800

    800

    #5D4173

    oklch(42.8% 0.086 308.9)

  10. Step 900

    900

    #4C375D

    oklch(37.7% 0.068 308.8)

  11. Step 950

    950

    #2D2036

    oklch(26.9% 0.044 310.7)

Export this scale for Tailwind in the Tailwind colors tool

#7B5797 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)#4964990.079
Deuteranopia (no green cones)#5266950.072
Tritanopia (no blue cones)#7761700.076
Achromatopsia (no color)#6666660.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B5797

    #7B5797

    oklch(52.1% 0.105 309)

  • #56752D

    #56752D

    oklch(52.2% 0.106 129.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B5797

    #7B5797

    oklch(52.1% 0.105 309)

  • #5D61A5

    #5D61A5

    oklch(52% 0.106 279.5)

  • #904F7D

    #904F7D

    oklch(52% 0.106 339)

Open the analogous palette in the generator

Split complementary

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

  • #7B5797

    #7B5797

    oklch(52.1% 0.105 309)

  • #796908

    #796908

    oklch(52% 0.105 98.4)

  • #227B53

    #227B53

    oklch(52% 0.105 159.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B5797

    #7B5797

    oklch(52.1% 0.105 309)

  • #905C15

    #905C15

    oklch(52% 0.105 68.5)

  • #007A74

    #007A74

    oklch(52.2% 0.091 188.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B5797

    #7B5797

    oklch(52.1% 0.105 309)

  • #9C5239

    #9C5239

    oklch(52.2% 0.105 39.2)

  • #56752D

    #56752D

    oklch(52.2% 0.106 129.1)

  • #00758E

    #00758E

    oklch(52% 0.094 219.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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