#7F5895

Closest named color: Muted Purple (#805B87). oklch(52.6% 0.103 312.6), rgb(127, 88, 149).

Aa

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

About this color

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

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

Values

HEX#7F5895
RGBrgb(127, 88, 149)
HSLhsl(278, 26%, 46%)
OKLCHoklch(52.6% 0.103 312.6)

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

    #EDE7F0

    oklch(93.5% 0.014 314.8)

  3. Step 200

    200

    #DFD5E6

    oklch(88.6% 0.025 311.7)

  4. Step 300

    300

    #CBB8D6

    oklch(80.8% 0.046 313.3)

  5. Step 400

    400

    #B193C2

    oklch(70.6% 0.075 313.2)

  6. Step 500

    500

    #9D78B3

    oklch(63% 0.096 312.4)

  7. Step 600

    600 (this color)

    #7F5895

    oklch(52.6% 0.103 312.6)

  8. Step 700

    700

    #735087

    oklch(49.1% 0.094 312.5)

  9. Step 800

    800

    #5E416E

    oklch(42.6% 0.08 312.9)

  10. Step 900

    900

    #4D3859

    oklch(37.8% 0.061 312.7)

  11. Step 950

    950

    #2D2134

    oklch(27.1% 0.038 312.6)

Export this scale for Tailwind in the Tailwind colors tool

#7F5895 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)#4D65970.080
Deuteranopia (no green cones)#5668930.074
Tritanopia (no blue cones)#7D616F0.072
Achromatopsia (no color)#6767670.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F5895

    #7F5895

    oklch(52.6% 0.103 312.6)

  • #537735

    #537735

    oklch(52.6% 0.103 132.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F5895

    #7F5895

    oklch(52.6% 0.103 312.6)

  • #6262A4

    #6262A4

    oklch(52.6% 0.103 282.3)

  • #93517B

    #93517B

    oklch(52.7% 0.103 342.5)

Open the analogous palette in the generator

Split complementary

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

  • #7F5895

    #7F5895

    oklch(52.6% 0.103 312.6)

  • #766C15

    #766C15

    oklch(52.5% 0.102 102.4)

  • #207D59

    #207D59

    oklch(52.7% 0.103 162.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F5895

    #7F5895

    oklch(52.6% 0.103 312.6)

  • #8E6018

    #8E6018

    oklch(52.6% 0.102 73)

  • #007B79

    #007B79

    oklch(52.7% 0.09 192.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F5895

    #7F5895

    oklch(52.6% 0.103 312.6)

  • #9B5538

    #9B5538

    oklch(52.6% 0.102 42.7)

  • #537735

    #537735

    oklch(52.6% 0.103 132.6)

  • #007693

    #007693

    oklch(52.5% 0.098 222.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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