#794AB7

Closest named color: Iris (#6258C4). oklch(51.7% 0.167 300.6), rgb(121, 74, 183).

Aa

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

About this color

#794AB7 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.167 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.050 away. White text reads best on it, at 6.04:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.167)
Temperaturein between
Nearest nameIris (#6258C4)
Black text3.47:1
White text6.04:1

Values

HEX#794AB7
RGBrgb(121, 74, 183)
HSLhsl(266, 43%, 50%)
OKLCHoklch(51.7% 0.167 300.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 #794AB7 6.04:1 AA Lc -85.0 Fine for body text
Black text on #794AB7 3.47:1 AA large text Lc 24.3 Dividers and decoration only
#794AB7 text on white 6.04:1 AA Lc 79.8 Fine for body text
#794AB7 text on black 3.47: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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DDD3F3

    oklch(88.5% 0.045 299.7)

  4. Step 300

    300

    #C9B5ED

    oklch(80.9% 0.081 301)

  5. Step 400

    400

    #AE8DE4

    oklch(70.7% 0.128 300.6)

  6. Step 500

    500

    #9B6EDC

    oklch(63.2% 0.164 300.7)

  7. Step 600

    600

    #8653CA

    oklch(55.7% 0.179 300.5)

  8. Step 700

    700 (this color)

    #794AB7

    oklch(51.7% 0.167 300.6)

  9. Step 800

    800

    #5C378D

    oklch(42.6% 0.138 300.5)

  10. Step 900

    900

    #4C3171

    oklch(37.8% 0.107 300.9)

  11. Step 950

    950

    #2C1D42

    oklch(26.9% 0.068 300.6)

Export this scale for Tailwind in the Tailwind colors tool

#794AB7 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)#0D62BB0.127
Deuteranopia (no green cones)#2862B50.116
Tritanopia (no blue cones)#6C61790.127
Achromatopsia (no color)#6363630.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #794AB7

    #794AB7

    oklch(51.7% 0.167 300.6)

  • #5F7200

    #5F7200

    oklch(51.8% 0.124 120.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #794AB7

    #794AB7

    oklch(51.7% 0.167 300.6)

  • #465CC6

    #465CC6

    oklch(51.7% 0.166 270.7)

  • #9A3B94

    #9A3B94

    oklch(51.7% 0.166 330.2)

Open the analogous palette in the generator

Split complementary

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

  • #794AB7

    #794AB7

    oklch(51.7% 0.167 300.6)

  • #7F6400

    #7F6400

    oklch(51.6% 0.105 90.1)

  • #007D39

    #007D39

    oklch(51.6% 0.14 150.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #794AB7

    #794AB7

    oklch(51.7% 0.167 300.6)

  • #985400

    #985400

    oklch(51.5% 0.12 60.5)

  • #00796A

    #00796A

    oklch(51.6% 0.094 180.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #794AB7

    #794AB7

    oklch(51.7% 0.167 300.6)

  • #B43424

    #B43424

    oklch(51.7% 0.167 30.6)

  • #5F7200

    #5F7200

    oklch(51.8% 0.124 120.5)

  • #007585

    #007585

    oklch(51.6% 0.09 211.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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