#794897

Closest named color: Light Eggplant (#894585). oklch(49.3% 0.131 311.1), rgb(121, 72, 151).

Aa

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

About this color

#794897 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.131 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.042 away. White text reads best on it, at 6.58:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameLight Eggplant (#894585)
Black text3.18:1
White text6.58:1

Values

HEX#794897
RGBrgb(121, 72, 151)
HSLhsl(277, 35%, 44%)
OKLCHoklch(49.3% 0.131 311.1)

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 #794897 6.58:1 AA Lc -87.4 Fine for body text
Black text on #794897 3.18:1 AA large text Lc 21.7 Dividers and decoration only
#794897 text on white 6.58:1 AA Lc 82.3 Fine for body text
#794897 text on black 3.18:1 AA large text Lc -19.6 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

    #EEE7F3

    oklch(93.7% 0.018 311.6)

  3. Step 200

    200

    #E1D3EB

    oklch(88.5% 0.036 311.4)

  4. Step 300

    300

    #CEB6DF

    oklch(81% 0.062 311.2)

  5. Step 400

    400

    #B58ECF

    oklch(70.6% 0.102 311.3)

  6. Step 500

    500

    #A371C3

    oklch(63.2% 0.13 311.2)

  7. Step 600

    600

    #8E58AF

    oklch(55.7% 0.141 311.3)

  8. Step 700

    700 (this color)

    #794897

    oklch(49.3% 0.131 311.1)

  9. Step 800

    800

    #623B7A

    oklch(42.7% 0.109 311.2)

  10. Step 900

    900

    #503362

    oklch(37.7% 0.085 311.4)

  11. Step 950

    950

    #2F1E3A

    oklch(27% 0.055 311.1)

Export this scale for Tailwind in the Tailwind colors tool

#794897 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)#345B9A0.108
Deuteranopia (no green cones)#435E950.097
Tritanopia (no blue cones)#7655680.092
Achromatopsia (no color)#5D5D5D0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #794897

    #794897

    oklch(49.3% 0.131 311.1)

  • #456F09

    #456F09

    oklch(49.2% 0.131 131.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #794897

    #794897

    oklch(49.3% 0.131 311.1)

  • #5655A9

    #5655A9

    oklch(49.3% 0.131 281)

  • #913E77

    #913E77

    oklch(49.3% 0.132 341.3)

Open the analogous palette in the generator

Split complementary

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

  • #794897

    #794897

    oklch(49.3% 0.131 311.1)

  • #6E6200

    #6E6200

    oklch(49.2% 0.103 101)

  • #00744C

    #00744C

    oklch(49.4% 0.11 160.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #794897

    #794897

    oklch(49.3% 0.131 311.1)

  • #865500

    #865500

    oklch(49.3% 0.106 71.2)

  • #00706D

    #00706D

    oklch(49.2% 0.085 191.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #794897

    #794897

    oklch(49.3% 0.131 311.1)

  • #9C421C

    #9C421C

    oklch(49.3% 0.13 41.3)

  • #456F09

    #456F09

    oklch(49.2% 0.131 131.2)

  • #006C85

    #006C85

    oklch(49.2% 0.09 221.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #794897 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.