#7F5D99

Closest named color: Muted Purple (#805B87). oklch(53.7% 0.099 309.4), rgb(127, 93, 153).

Aa

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

About this color

#7F5D99 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 54%, its chroma 0.099 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.028 away. White text reads best on it, at 5.34:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameMuted Purple (#805B87)
Black text3.92:1
White text5.34:1

Values

HEX#7F5D99
RGBrgb(127, 93, 153)
HSLhsl(274, 24%, 48%)
OKLCHoklch(53.7% 0.099 309.4)

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 #7F5D99 5.34:1 AA Lc -81.9 Fine for body text
Black text on #7F5D99 3.92:1 AA large text Lc 27.6 Dividers and decoration only
#7F5D99 text on white 5.34:1 AA Lc 76.5 Fine for body text
#7F5D99 text on black 3.92:1 AA large text Lc -25.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 600.

  1. Step 50

    50

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #ECE8F0

    oklch(93.6% 0.011 308.3)

  3. Step 200

    200

    #DED5E6

    oklch(88.5% 0.025 309.3)

  4. Step 300

    300

    #C9B9D7

    oklch(80.9% 0.045 309.2)

  5. Step 400

    400

    #AE95C2

    oklch(70.7% 0.07 309.8)

  6. Step 500

    500

    #9A7AB3

    oklch(63.1% 0.091 309.6)

  7. Step 600

    600 (this color)

    #7F5D99

    oklch(53.7% 0.099 309.4)

  8. Step 700

    700

    #705188

    oklch(49% 0.092 309.2)

  9. Step 800

    800

    #5B436E

    oklch(42.7% 0.075 309.1)

  10. Step 900

    900

    #4B3959

    oklch(37.8% 0.058 309.5)

  11. Step 950

    950

    #2C2134

    oklch(26.9% 0.038 310.4)

Export this scale for Tailwind in the Tailwind colors tool

#7F5D99 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)#51699B0.073
Deuteranopia (no green cones)#596B970.067
Tritanopia (no blue cones)#7C66740.071
Achromatopsia (no color)#6B6B6B0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F5D99

    #7F5D99

    oklch(53.7% 0.099 309.4)

  • #5B7938

    #5B7938

    oklch(53.7% 0.099 129.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F5D99

    #7F5D99

    oklch(53.7% 0.099 309.4)

  • #6267A6

    #6267A6

    oklch(53.7% 0.098 279.1)

  • #935680

    #935680

    oklch(53.7% 0.098 339.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F5D99

    #7F5D99

    oklch(53.7% 0.099 309.4)

  • #7C6F1E

    #7C6F1E

    oklch(53.8% 0.099 99.8)

  • #307F59

    #307F59

    oklch(53.7% 0.098 159.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F5D99

    #7F5D99

    oklch(53.7% 0.099 309.4)

  • #926224

    #926224

    oklch(53.6% 0.099 69.4)

  • #007F79

    #007F79

    oklch(53.8% 0.093 189)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F5D99

    #7F5D99

    oklch(53.7% 0.099 309.4)

  • #9E5841

    #9E5841

    oklch(53.7% 0.099 38.9)

  • #5B7938

    #5B7938

    oklch(53.7% 0.099 129.7)

  • #007B94

    #007B94

    oklch(53.8% 0.097 218.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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