#7D5271

Closest named color: Dull Purple (#84597E). oklch(49.7% 0.072 337.5), rgb(125, 82, 113).

Aa

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

About this color

#7D5271 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 50%, its chroma 0.072 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Dull Purple (#84597E), ΔE 0.028 away. White text reads best on it, at 6.33:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.072)
Temperaturewarm
Nearest nameDull Purple (#84597E)
Black text3.31:1
White text6.33:1

Values

HEX#7D5271
RGBrgb(125, 82, 113)
HSLhsl(317, 21%, 41%)
OKLCHoklch(49.7% 0.072 337.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 #7D5271 6.33:1 AA Lc -86.5 Fine for body text
Black text on #7D5271 3.31:1 AA large text Lc 22.7 Dividers and decoration only
#7D5271 text on white 6.33:1 AA Lc 81.4 Fine for body text
#7D5271 text on black 3.31:1 AA large text Lc -20.5 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

    #F8F4F6

    oklch(97.1% 0.005 345.3)

  2. Step 100

    100

    #EFE7EC

    oklch(93.6% 0.011 339.3)

  3. Step 200

    200

    #E2D4DE

    oklch(88.4% 0.02 335.7)

  4. Step 300

    300

    #D0B8C9

    oklch(80.8% 0.036 336.3)

  5. Step 400

    400

    #B894AD

    oklch(70.7% 0.055 337.5)

  6. Step 500

    500

    #A67999

    oklch(63.1% 0.071 337.4)

  7. Step 600

    600

    #916184

    oklch(55.5% 0.079 337)

  8. Step 700

    700 (this color)

    #7D5271

    oklch(49.7% 0.072 337.5)

  9. Step 800

    800

    #64425B

    oklch(42.7% 0.06 336.7)

  10. Step 900

    900

    #52384A

    oklch(37.7% 0.046 338.4)

  11. Step 950

    950

    #30212C

    oklch(27% 0.03 336.3)

Export this scale for Tailwind in the Tailwind colors tool

#7D5271 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)#535C720.072
Deuteranopia (no green cones)#5D62700.067
Tritanopia (no blue cones)#82535D0.034
Achromatopsia (no color)#6060600.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D5271

    #7D5271

    oklch(49.7% 0.072 337.5)

  • #3C6F52

    #3C6F52

    oklch(49.7% 0.073 157.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D5271

    #7D5271

    oklch(49.7% 0.072 337.5)

  • #6D5782

    #6D5782

    oklch(49.6% 0.072 307.4)

  • #86505B

    #86505B

    oklch(49.6% 0.074 6.9)

Open the analogous palette in the generator

Split complementary

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

  • #7D5271

    #7D5271

    oklch(49.7% 0.072 337.5)

  • #576A3C

    #576A3C

    oklch(49.7% 0.072 127.2)

  • #267069

    #267069

    oklch(49.8% 0.073 186.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D5271

    #7D5271

    oklch(49.7% 0.072 337.5)

  • #6E632F

    #6E632F

    oklch(49.8% 0.073 97.6)

  • #286C7D

    #286C7D

    oklch(49.6% 0.072 217.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D5271

    #7D5271

    oklch(49.7% 0.072 337.5)

  • #7E5A33

    #7E5A33

    oklch(49.7% 0.072 67)

  • #3C6F52

    #3C6F52

    oklch(49.7% 0.073 157.4)

  • #3F6689

    #3F6689

    oklch(49.7% 0.072 246.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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