#794FA7

Closest named color: Deep Lavender (#8D5EB7). oklch(51.4% 0.139 304), rgb(121, 79, 167).

Aa

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

About this color

#794FA7 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 51%, its chroma 0.139 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.056 away. White text reads best on it, at 6.01:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text3.48:1
White text6.01:1

Values

HEX#794FA7
RGBrgb(121, 79, 167)
HSLhsl(269, 36%, 48%)
OKLCHoklch(51.4% 0.139 304)

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 #794FA7 6.01:1 AA Lc -85.0 Fine for body text
Black text on #794FA7 3.48:1 AA large text Lc 24.2 Dividers and decoration only
#794FA7 text on white 6.01:1 AA Lc 79.8 Fine for body text
#794FA7 text on black 3.48:1 AA large text Lc -22.0 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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #ECE7F5

    oklch(93.6% 0.019 302.2)

  3. Step 200

    200

    #DED4EE

    oklch(88.6% 0.037 303.1)

  4. Step 300

    300

    #CAB6E5

    oklch(80.9% 0.069 304.3)

  5. Step 400

    400

    #AF8FD7

    oklch(70.6% 0.108 304.2)

  6. Step 500

    500

    #9C72CC

    oklch(63.1% 0.137 304.3)

  7. Step 600

    600

    #8759B9

    oklch(55.6% 0.149 304.1)

  8. Step 700

    700 (this color)

    #794FA7

    oklch(51.4% 0.139 304)

  9. Step 800

    800

    #5D3C81

    oklch(42.7% 0.114 304.1)

  10. Step 900

    900

    #4C3468

    oklch(37.7% 0.09 303.7)

  11. Step 950

    950

    #2C1F3D

    oklch(27% 0.056 302.8)

Export this scale for Tailwind in the Tailwind colors tool

#794FA7 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)#3262AA0.104
Deuteranopia (no green cones)#3F63A50.095
Tritanopia (no blue cones)#715F730.104
Achromatopsia (no color)#6363630.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #794FA7

    #794FA7

    oklch(51.4% 0.139 304)

  • #587300

    #587300

    oklch(51.5% 0.128 124.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #794FA7

    #794FA7

    oklch(51.4% 0.139 304)

  • #505DB6

    #505DB6

    oklch(51.4% 0.14 274.2)

  • #954488

    #954488

    oklch(51.5% 0.139 333.9)

Open the analogous palette in the generator

Split complementary

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

  • #794FA7

    #794FA7

    oklch(51.4% 0.139 304)

  • #7B6500

    #7B6500

    oklch(51.3% 0.105 93.9)

  • #007C43

    #007C43

    oklch(51.5% 0.13 154)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #794FA7

    #794FA7

    oklch(51.4% 0.139 304)

  • #945600

    #945600

    oklch(51.3% 0.116 64.1)

  • #00786D

    #00786D

    oklch(51.4% 0.091 183.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #794FA7

    #794FA7

    oklch(51.4% 0.139 304)

  • #A8422C

    #A8422C

    oklch(51.4% 0.139 33.8)

  • #587300

    #587300

    oklch(51.5% 0.128 124.3)

  • #007487

    #007487

    oklch(51.4% 0.09 214.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #794FA7 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.