#795D8A

Closest named color: Muted Purple (#805B87). oklch(52.4% 0.076 312.2), rgb(121, 93, 138).

Aa

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

About this color

#795D8A is a medium-dark, moderately saturated purple. In OKLCH its lightness is 52%, its chroma 0.076 and its hue 312°. 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.60:1.

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

Values

HEX#795D8A
RGBrgb(121, 93, 138)
HSLhsl(277, 19%, 45%)
OKLCHoklch(52.4% 0.076 312.2)

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 #795D8A 5.60:1 AA Lc -83.3 Fine for body text
Black text on #795D8A 3.74:1 AA large text Lc 26.1 Dividers and decoration only
#795D8A text on white 5.60:1 AA Lc 78.0 Fine for body text
#795D8A text on black 3.74: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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #ECE8EF

    oklch(93.6% 0.01 311.2)

  3. Step 200

    200

    #DDD6E2

    oklch(88.5% 0.018 311.6)

  4. Step 300

    300

    #C8BBD1

    oklch(81% 0.034 311.7)

  5. Step 400

    400

    #AC97BA

    oklch(70.7% 0.055 311.8)

  6. Step 500

    500

    #987DA9

    oklch(63.1% 0.072 312.1)

  7. Step 600

    600 (this color)

    #795D8A

    oklch(52.4% 0.076 312.2)

  8. Step 700

    700

    #6E557E

    oklch(49.1% 0.07 311.7)

  9. Step 800

    800

    #5A4566

    oklch(42.6% 0.059 312.9)

  10. Step 900

    900

    #4A3B53

    oklch(37.8% 0.044 312.5)

  11. Step 950

    950

    #2B2231

    oklch(26.9% 0.03 311.5)

Export this scale for Tailwind in the Tailwind colors tool

#795D8A 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)#56668C0.057
Deuteranopia (no green cones)#5C68890.052
Tritanopia (no blue cones)#78636D0.054
Achromatopsia (no color)#6868680.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #795D8A

    #795D8A

    oklch(52.4% 0.076 312.2)

  • #597344

    #597344

    oklch(52.2% 0.076 132.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #795D8A

    #795D8A

    oklch(52.4% 0.076 312.2)

  • #636495

    #636495

    oklch(52.3% 0.077 282.5)

  • #895876

    #895876

    oklch(52.4% 0.077 342.7)

Open the analogous palette in the generator

Split complementary

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

  • #795D8A

    #795D8A

    oklch(52.4% 0.076 312.2)

  • #736C34

    #736C34

    oklch(52.5% 0.077 102.2)

  • #3D785D

    #3D785D

    oklch(52.5% 0.076 162.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #795D8A

    #795D8A

    oklch(52.4% 0.076 312.2)

  • #856335

    #856335

    oklch(52.4% 0.077 73.1)

  • #277875

    #277875

    oklch(52.4% 0.077 191.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #795D8A

    #795D8A

    oklch(52.4% 0.076 312.2)

  • #8F5B46

    #8F5B46

    oklch(52.3% 0.076 42.7)

  • #597344

    #597344

    oklch(52.2% 0.076 132.1)

  • #2F748A

    #2F748A

    oklch(52.5% 0.076 222.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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