#795A87

Closest named color: Muted Purple (#805B87). oklch(51.7% 0.078 315), rgb(121, 90, 135).

Aa

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

About this color

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

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

Values

HEX#795A87
RGBrgb(121, 90, 135)
HSLhsl(281, 20%, 44%)
OKLCHoklch(51.7% 0.078 315)

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 #795A87 5.79:1 AA Lc -84.2 Fine for body text
Black text on #795A87 3.62:1 AA large text Lc 25.2 Dividers and decoration only
#795A87 text on white 5.79:1 AA Lc 78.9 Fine for body text
#795A87 text on black 3.62:1 AA large text Lc -22.9 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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EDE8EF

    oklch(93.7% 0.011 316.5)

  3. Step 200

    200

    #DED5E3

    oklch(88.4% 0.021 313.8)

  4. Step 300

    300

    #CABAD2

    oklch(81% 0.038 314.6)

  5. Step 400

    400

    #AF96BB

    oklch(70.8% 0.06 314.8)

  6. Step 500

    500

    #9B7BAA

    oklch(63% 0.078 314.8)

  7. Step 600

    600

    #866495

    oklch(55.6% 0.084 315.2)

  8. Step 700

    700 (this color)

    #795A87

    oklch(51.7% 0.078 315)

  9. Step 800

    800

    #5C4467

    oklch(42.7% 0.064 314.9)

  10. Step 900

    900

    #4C3954

    oklch(37.6% 0.051 315.7)

  11. Step 950

    950

    #2C2231

    oklch(27% 0.031 314.3)

Export this scale for Tailwind in the Tailwind colors tool

#795A87 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)#5364890.062
Deuteranopia (no green cones)#5A66860.057
Tritanopia (no blue cones)#78606A0.055
Achromatopsia (no color)#6565650.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #795A87

    #795A87

    oklch(51.7% 0.078 315)

  • #547244

    #547244

    oklch(51.6% 0.077 135.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #795A87

    #795A87

    oklch(51.7% 0.078 315)

  • #636193

    #636193

    oklch(51.6% 0.078 285.1)

  • #885572

    #885572

    oklch(51.6% 0.078 345.1)

Open the analogous palette in the generator

Split complementary

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

  • #795A87

    #795A87

    oklch(51.7% 0.078 315)

  • #6F6A31

    #6F6A31

    oklch(51.6% 0.078 104.2)

  • #36765D

    #36765D

    oklch(51.6% 0.078 165.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #795A87

    #795A87

    oklch(51.7% 0.078 315)

  • #826131

    #826131

    oklch(51.6% 0.078 74.8)

  • #207676

    #207676

    oklch(51.7% 0.078 195)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #795A87

    #795A87

    oklch(51.7% 0.078 315)

  • #8D5941

    #8D5941

    oklch(51.6% 0.078 45.3)

  • #547244

    #547244

    oklch(51.6% 0.077 135.3)

  • #2C718A

    #2C718A

    oklch(51.6% 0.079 225.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #795A87 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.