#7E5A8A

Closest named color: Muted Purple (#805B87). oklch(52.4% 0.085 317.5), rgb(126, 90, 138).

Aa

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

About this color

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

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

Values

HEX#7E5A8A
RGBrgb(126, 90, 138)
HSLhsl(285, 21%, 45%)
OKLCHoklch(52.4% 0.085 317.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 #7E5A8A 5.65:1 AA Lc -83.4 Fine for body text
Black text on #7E5A8A 3.71:1 AA large text Lc 25.9 Dividers and decoration only
#7E5A8A text on white 5.65:1 AA Lc 78.2 Fine for body text
#7E5A8A text on black 3.71:1 AA large text Lc -23.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 600.

  1. Step 50

    50

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EDE8EF

    oklch(93.7% 0.011 316.5)

  3. Step 200

    200

    #DFD5E2

    oklch(88.5% 0.021 318.4)

  4. Step 300

    300

    #CBB9D1

    oklch(80.8% 0.039 317.7)

  5. Step 400

    400

    #B195BA

    oklch(70.7% 0.062 317.9)

  6. Step 500

    500

    #9D7BA9

    oklch(63.2% 0.078 317.1)

  7. Step 600

    600 (this color)

    #7E5A8A

    oklch(52.4% 0.085 317.5)

  8. Step 700

    700

    #73527E

    oklch(49.1% 0.079 317.5)

  9. Step 800

    800

    #5E4366

    oklch(42.6% 0.066 318.3)

  10. Step 900

    900

    #4D3953

    oklch(37.7% 0.05 318.3)

  11. Step 950

    950

    #2D2131

    oklch(26.9% 0.034 317.5)

Export this scale for Tailwind in the Tailwind colors tool

#7E5A8A 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)#53658C0.070
Deuteranopia (no green cones)#5C68880.064
Tritanopia (no blue cones)#7E606C0.056
Achromatopsia (no color)#6767670.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E5A8A

    #7E5A8A

    oklch(52.4% 0.085 317.5)

  • #527544

    #527544

    oklch(52.3% 0.084 137.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E5A8A

    #7E5A8A

    oklch(52.4% 0.085 317.5)

  • #676298

    #676298

    oklch(52.4% 0.084 287.4)

  • #8E5573

    #8E5573

    oklch(52.4% 0.085 347.6)

Open the analogous palette in the generator

Split complementary

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

  • #7E5A8A

    #7E5A8A

    oklch(52.4% 0.085 317.5)

  • #6F6D2E

    #6F6D2E

    oklch(52.3% 0.085 107.3)

  • #2F7960

    #2F7960

    oklch(52.2% 0.084 167.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E5A8A

    #7E5A8A

    oklch(52.4% 0.085 317.5)

  • #85632C

    #85632C

    oklch(52.3% 0.084 77)

  • #13797B

    #13797B

    oklch(52.4% 0.085 197)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E5A8A

    #7E5A8A

    oklch(52.4% 0.085 317.5)

  • #925A3D

    #925A3D

    oklch(52.4% 0.085 47.6)

  • #527544

    #527544

    oklch(52.3% 0.084 137.2)

  • #297390

    #297390

    oklch(52.3% 0.085 227.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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