#794AB4

Closest named color: Iris (#6258C4). oklch(51.4% 0.163 301.3), rgb(121, 74, 180).

Aa

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

About this color

#794AB4 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.163 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.052 away. White text reads best on it, at 6.08:1.

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

Values

HEX#794AB4
RGBrgb(121, 74, 180)
HSLhsl(267, 42%, 50%)
OKLCHoklch(51.4% 0.163 301.3)

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 #794AB4 6.08:1 AA Lc -85.2 Fine for body text
Black text on #794AB4 3.45:1 AA large text Lc 24.1 Dividers and decoration only
#794AB4 text on white 6.08:1 AA Lc 80.0 Fine for body text
#794AB4 text on black 3.45:1 AA large text Lc -21.8 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

    #AE8DE2

    oklch(70.7% 0.125 301.1)

  6. Step 500

    500

    #9B6EDA

    oklch(63.1% 0.161 301.2)

  7. Step 600

    600

    #8753C7

    oklch(55.6% 0.175 301.6)

  8. Step 700

    700 (this color)

    #794AB4

    oklch(51.4% 0.163 301.3)

  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

    #2C1D41

    oklch(26.9% 0.067 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#794AB4 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)#1562B70.125
Deuteranopia (no green cones)#2C62B20.113
Tritanopia (no blue cones)#6D60780.123
Achromatopsia (no color)#6262620.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #794AB4

    #794AB4

    oklch(51.4% 0.163 301.3)

  • #5D7100

    #5D7100

    oklch(51.4% 0.123 121.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #794AB4

    #794AB4

    oklch(51.4% 0.163 301.3)

  • #475BC3

    #475BC3

    oklch(51.3% 0.163 271.3)

  • #993B91

    #993B91

    oklch(51.4% 0.163 331.1)

Open the analogous palette in the generator

Split complementary

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

  • #794AB4

    #794AB4

    oklch(51.4% 0.163 301.3)

  • #7E6400

    #7E6400

    oklch(51.4% 0.105 90.9)

  • #007C3C

    #007C3C

    oklch(51.3% 0.136 151.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #794AB4

    #794AB4

    oklch(51.4% 0.163 301.3)

  • #975400

    #975400

    oklch(51.4% 0.119 61)

  • #00786B

    #00786B

    oklch(51.4% 0.092 181.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #794AB4

    #794AB4

    oklch(51.4% 0.163 301.3)

  • #B23624

    #B23624

    oklch(51.5% 0.163 31.3)

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

Similar named colors

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

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