#7F5A8A

Closest named color: Muted Purple (#805B87). oklch(52.5% 0.085 318.3), rgb(127, 90, 138).

Aa

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

About this color

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

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

Values

HEX#7F5A8A
RGBrgb(127, 90, 138)
HSLhsl(286, 21%, 45%)
OKLCHoklch(52.5% 0.085 318.3)

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 #7F5A8A 5.62:1 AA Lc -83.3 Fine for body text
Black text on #7F5A8A 3.73:1 AA large text Lc 26.0 Dividers and decoration only
#7F5A8A text on white 5.62:1 AA Lc 78.0 Fine for body text
#7F5A8A text on black 3.73:1 AA large text Lc -23.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 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

    #9E7AA8

    oklch(63% 0.079 318.8)

  7. Step 600

    600 (this color)

    #7F5A8A

    oklch(52.5% 0.085 318.3)

  8. Step 700

    700

    #74527E

    oklch(49.2% 0.079 318.4)

  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

#7F5A8A 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)#54658C0.071
Deuteranopia (no green cones)#5C69880.067
Tritanopia (no blue cones)#7F606C0.056
Achromatopsia (no color)#6767670.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F5A8A

    #7F5A8A

    oklch(52.5% 0.085 318.3)

  • #517645

    #517645

    oklch(52.5% 0.085 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F5A8A

    #7F5A8A

    oklch(52.5% 0.085 318.3)

  • #686299

    #686299

    oklch(52.5% 0.086 288.1)

  • #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°).

  • #7F5A8A

    #7F5A8A

    oklch(52.5% 0.085 318.3)

  • #6F6E2F

    #6F6E2F

    oklch(52.5% 0.085 108.2)

  • #2E7A61

    #2E7A61

    oklch(52.5% 0.085 168.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F5A8A

    #7F5A8A

    oklch(52.5% 0.085 318.3)

  • #85642B

    #85642B

    oklch(52.5% 0.085 78.6)

  • #12797C

    #12797C

    oklch(52.5% 0.085 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F5A8A

    #7F5A8A

    oklch(52.5% 0.085 318.3)

  • #925A3D

    #925A3D

    oklch(52.4% 0.085 47.6)

  • #517645

    #517645

    oklch(52.5% 0.085 138.3)

  • #297391

    #297391

    oklch(52.3% 0.085 228.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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