#794AB5

Closest named color: Iris (#6258C4). oklch(51.5% 0.164 301.1), rgb(121, 74, 181).

Aa

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

About this color

#794AB5 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.164 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.051 away. White text reads best on it, at 6.06:1.

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

Values

HEX#794AB5
RGBrgb(121, 74, 181)
HSLhsl(266, 42%, 50%)
OKLCHoklch(51.5% 0.164 301.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 #794AB5 6.06:1 AA Lc -85.1 Fine for body text
Black text on #794AB5 3.45:1 AA large text Lc 24.1 Dividers and decoration only
#794AB5 text on white 6.06:1 AA Lc 79.9 Fine for body text
#794AB5 text on black 3.45:1 AA large text Lc -21.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 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

    #DED3F2

    oklch(88.5% 0.044 301.7)

  4. Step 300

    300

    #C9B5EC

    oklch(80.8% 0.079 301.3)

  5. Step 400

    400

    #AE8DE3

    oklch(70.7% 0.127 300.9)

  6. Step 500

    500

    #9B6EDB

    oklch(63.1% 0.162 300.9)

  7. Step 600

    600

    #8653C8

    oklch(55.5% 0.176 300.9)

  8. Step 700

    700 (this color)

    #794AB5

    oklch(51.5% 0.164 301.1)

  9. Step 800

    800

    #5D388C

    oklch(42.8% 0.135 301.2)

  10. Step 900

    900

    #4C3170

    oklch(37.7% 0.106 301.3)

  11. Step 950

    950

    #2C1D42

    oklch(26.9% 0.068 300.6)

Export this scale for Tailwind in the Tailwind colors tool

#794AB5 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)#1362B80.125
Deuteranopia (no green cones)#2B62B30.114
Tritanopia (no blue cones)#6D60780.124
Achromatopsia (no color)#6262620.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #794AB5

    #794AB5

    oklch(51.5% 0.164 301.1)

  • #5D7100

    #5D7100

    oklch(51.4% 0.123 121.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #794AB5

    #794AB5

    oklch(51.5% 0.164 301.1)

  • #475CC4

    #475CC4

    oklch(51.6% 0.163 271)

  • #9A3B92

    #9A3B92

    oklch(51.6% 0.165 331.1)

Open the analogous palette in the generator

Split complementary

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

  • #794AB5

    #794AB5

    oklch(51.5% 0.164 301.1)

  • #7E6400

    #7E6400

    oklch(51.4% 0.105 90.9)

  • #007D3B

    #007D3B

    oklch(51.6% 0.139 151.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #794AB5

    #794AB5

    oklch(51.5% 0.164 301.1)

  • #975400

    #975400

    oklch(51.4% 0.119 61)

  • #00796B

    #00796B

    oklch(51.7% 0.093 181.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #794AB5

    #794AB5

    oklch(51.5% 0.164 301.1)

  • #B23524

    #B23524

    oklch(51.4% 0.164 30.9)

  • #5D7100

    #5D7100

    oklch(51.4% 0.123 121.1)

  • #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 #794AB5, closest first.

Similar named colors

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

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