#795F9F

Closest named color: Dark Lavender (#856798). oklch(53.8% 0.101 301.8), rgb(121, 95, 159).

Aa

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

About this color

#795F9F is a medium-dark, moderately saturated purple. In OKLCH its lightness is 54%, its chroma 0.101 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.035 away. White text reads best on it, at 5.31:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text3.95:1
White text5.31:1

Values

HEX#795F9F
RGBrgb(121, 95, 159)
HSLhsl(264, 25%, 50%)
OKLCHoklch(53.8% 0.101 301.8)

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 #795F9F 5.31:1 AA Lc -81.7 Fine for body text
Black text on #795F9F 3.95:1 AA large text Lc 27.7 Dividers and decoration only
#795F9F text on white 5.31:1 AA Lc 76.4 Fine for body text
#795F9F text on black 3.95:1 AA large text Lc -25.4 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

    #EBE8F1

    oklch(93.6% 0.012 301.3)

  3. Step 200

    200

    #DCD6E8

    oklch(88.6% 0.025 301)

  4. Step 300

    300

    #C6BADA

    oklch(80.9% 0.046 302.4)

  5. Step 400

    400

    #A996C7

    oklch(70.7% 0.073 302.3)

  6. Step 500

    500

    #947CB9

    oklch(63.2% 0.093 301.9)

  7. Step 600

    600 (this color)

    #795F9F

    oklch(53.8% 0.101 301.8)

  8. Step 700

    700

    #6B538D

    oklch(49.2% 0.094 302.1)

  9. Step 800

    800

    #574473

    oklch(42.7% 0.079 301.8)

  10. Step 900

    900

    #473A5D

    oklch(37.8% 0.06 300.6)

  11. Step 950

    950

    #2A2236

    oklch(27% 0.038 302.3)

Export this scale for Tailwind in the Tailwind colors tool

#795F9F 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)#4F6BA10.066
Deuteranopia (no green cones)#546B9D0.061
Tritanopia (no blue cones)#726A770.080
Achromatopsia (no color)#6B6B6B0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #795F9F

    #795F9F

    oklch(53.8% 0.101 301.8)

  • #65772E

    #65772E

    oklch(53.8% 0.101 121.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #795F9F

    #795F9F

    oklch(53.8% 0.101 301.8)

  • #596AA9

    #596AA9

    oklch(53.9% 0.101 271.2)

  • #905788

    #905788

    oklch(53.8% 0.101 332.1)

Open the analogous palette in the generator

Split complementary

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

  • #795F9F

    #795F9F

    oklch(53.8% 0.101 301.8)

  • #836C18

    #836C18

    oklch(53.9% 0.101 92.5)

  • #3A7F50

    #3A7F50

    oklch(53.9% 0.102 151.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #795F9F

    #795F9F

    oklch(53.8% 0.101 301.8)

  • #985F28

    #985F28

    oklch(53.8% 0.102 61.4)

  • #008072

    #008072

    oklch(53.8% 0.097 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #795F9F

    #795F9F

    oklch(53.8% 0.101 301.8)

  • #A05648

    #A05648

    oklch(53.8% 0.101 31.8)

  • #65772E

    #65772E

    oklch(53.8% 0.101 121.5)

  • #007C8D

    #007C8D

    oklch(53.8% 0.093 211.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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