#795A9C

Closest named color: Muted Purple (#805B87). oklch(52.7% 0.106 304.7), rgb(121, 90, 156).

Aa

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

About this color

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

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

Values

HEX#795A9C
RGBrgb(121, 90, 156)
HSLhsl(268, 27%, 48%)
OKLCHoklch(52.7% 0.106 304.7)

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 #795A9C 5.59:1 AA Lc -83.1 Fine for body text
Black text on #795A9C 3.75:1 AA large text Lc 26.2 Dividers and decoration only
#795A9C text on white 5.59:1 AA Lc 77.8 Fine for body text
#795A9C text on black 3.75:1 AA large text Lc -23.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 600.

  1. Step 50

    50

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #ECE8F1

    oklch(93.7% 0.013 306)

  3. Step 200

    200

    #DDD5E8

    oklch(88.5% 0.027 304.8)

  4. Step 300

    300

    #C7B9DA

    oklch(80.8% 0.048 304.6)

  5. Step 400

    400

    #AB95C7

    oklch(70.7% 0.076 304.6)

  6. Step 500

    500

    #977AB9

    oklch(63.1% 0.098 304.9)

  7. Step 600

    600 (this color)

    #795A9C

    oklch(52.7% 0.106 304.7)

  8. Step 700

    700

    #6E518D

    oklch(49.1% 0.098 305.3)

  9. Step 800

    800

    #594373

    oklch(42.7% 0.081 304.3)

  10. Step 900

    900

    #49395D

    oklch(37.8% 0.063 304)

  11. Step 950

    950

    #2B2136

    oklch(26.9% 0.04 305.7)

Export this scale for Tailwind in the Tailwind colors tool

#795A9C 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)#4A679E0.074
Deuteranopia (no green cones)#51689A0.068
Tritanopia (no blue cones)#7365730.081
Achromatopsia (no color)#6868680.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #795A9C

    #795A9C

    oklch(52.7% 0.106 304.7)

  • #5D7529

    #5D7529

    oklch(52.7% 0.106 124.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #795A9C

    #795A9C

    oklch(52.7% 0.106 304.7)

  • #5965A8

    #5965A8

    oklch(52.8% 0.106 274.5)

  • #905283

    #905283

    oklch(52.8% 0.105 335.2)

Open the analogous palette in the generator

Split complementary

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

  • #795A9C

    #795A9C

    oklch(52.7% 0.106 304.7)

  • #7F6907

    #7F6907

    oklch(52.7% 0.106 94.1)

  • #2E7D4F

    #2E7D4F

    oklch(52.9% 0.106 154.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #795A9C

    #795A9C

    oklch(52.7% 0.106 304.7)

  • #945C1C

    #945C1C

    oklch(52.6% 0.105 64.5)

  • #007C72

    #007C72

    oklch(52.7% 0.093 185)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #795A9C

    #795A9C

    oklch(52.7% 0.106 304.7)

  • #9E5240

    #9E5240

    oklch(52.6% 0.105 34.4)

  • #5D7529

    #5D7529

    oklch(52.7% 0.106 124.8)

  • #00788C

    #00788C

    oklch(52.7% 0.093 214.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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