#795A8B

Closest named color: Muted Purple (#805B87). oklch(51.9% 0.083 312.6), rgb(121, 90, 139).

Aa

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

About this color

#795A8B is a medium-dark, moderately saturated purple. In OKLCH its lightness is 52%, its chroma 0.083 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.015 away. White text reads best on it, at 5.75:1.

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

Values

HEX#795A8B
RGBrgb(121, 90, 139)
HSLhsl(278, 21%, 45%)
OKLCHoklch(51.9% 0.083 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 #795A8B 5.75:1 AA Lc -84.0 Fine for body text
Black text on #795A8B 3.64:1 AA large text Lc 25.3 Dividers and decoration only
#795A8B text on white 5.75:1 AA Lc 78.7 Fine for body text
#795A8B text on black 3.64:1 AA large text Lc -23.1 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

    #ECE8F0

    oklch(93.6% 0.011 308.3)

  3. Step 200

    200

    #DED5E4

    oklch(88.5% 0.022 312.2)

  4. Step 300

    300

    #CABAD4

    oklch(81% 0.04 312.6)

  5. Step 400

    400

    #AF95BE

    oklch(70.7% 0.065 313.1)

  6. Step 500

    500

    #9B7BAE

    oklch(63.2% 0.083 312.5)

  7. Step 600

    600

    #856399

    oklch(55.5% 0.09 312.4)

  8. Step 700

    700 (this color)

    #795A8B

    oklch(51.9% 0.083 312.6)

  9. Step 800

    800

    #5C436A

    oklch(42.6% 0.07 312.9)

  10. Step 900

    900

    #4B3956

    oklch(37.6% 0.053 312.2)

  11. Step 950

    950

    #2C2232

    oklch(27.1% 0.032 312.5)

Export this scale for Tailwind in the Tailwind colors tool

#795A8B 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)#52648D0.063
Deuteranopia (no green cones)#59678A0.059
Tritanopia (no blue cones)#77616C0.059
Achromatopsia (no color)#6666660.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #795A8B

    #795A8B

    oklch(51.9% 0.083 312.6)

  • #56733F

    #56733F

    oklch(51.9% 0.084 132.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #795A8B

    #795A8B

    oklch(51.9% 0.083 312.6)

  • #616297

    #616297

    oklch(51.8% 0.083 282.3)

  • #8A5576

    #8A5576

    oklch(52% 0.083 342.4)

Open the analogous palette in the generator

Split complementary

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

  • #795A8B

    #795A8B

    oklch(51.9% 0.083 312.6)

  • #726A2C

    #726A2C

    oklch(51.8% 0.083 102)

  • #35775A

    #35775A

    oklch(51.8% 0.083 162.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #795A8B

    #795A8B

    oklch(51.9% 0.083 312.6)

  • #86602D

    #86602D

    oklch(51.8% 0.084 72.1)

  • #167775

    #167775

    oklch(51.7% 0.083 192.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #795A8B

    #795A8B

    oklch(51.9% 0.083 312.6)

  • #915841

    #915841

    oklch(51.9% 0.083 42.6)

  • #56733F

    #56733F

    oklch(51.9% 0.084 132.5)

  • #23738B

    #23738B

    oklch(51.9% 0.083 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 #795A8B, closest first.

Similar named colors

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

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