#794AB1

Closest named color: Iris (#6258C4). oklch(51.2% 0.159 302.1), rgb(121, 74, 177).

Aa

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

About this color

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

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

Values

HEX#794AB1
RGBrgb(121, 74, 177)
HSLhsl(267, 41%, 49%)
OKLCHoklch(51.2% 0.159 302.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 #794AB1 6.12:1 AA Lc -85.4 Fine for body text
Black text on #794AB1 3.42:1 AA large text Lc 23.8 Dividers and decoration only
#794AB1 text on white 6.12:1 AA Lc 80.2 Fine for body text
#794AB1 text on black 3.42:1 AA large text Lc -21.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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DED3F1

    oklch(88.5% 0.042 302.2)

  4. Step 300

    300

    #CAB5EB

    oklch(80.9% 0.078 302.4)

  5. Step 400

    400

    #AF8DE0

    oklch(70.6% 0.123 302.2)

  6. Step 500

    500

    #9C6ED7

    oklch(63% 0.158 302.3)

  7. Step 600

    600

    #8754C5

    oklch(55.6% 0.171 301.9)

  8. Step 700

    700 (this color)

    #794AB1

    oklch(51.2% 0.159 302.1)

  9. Step 800

    800

    #5D388A

    oklch(42.6% 0.133 301.9)

  10. Step 900

    900

    #4C316E

    oklch(37.6% 0.103 302.1)

  11. Step 950

    950

    #2D1D41

    oklch(27% 0.067 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#794AB1 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)#1B61B40.123
Deuteranopia (no green cones)#2F61AF0.111
Tritanopia (no blue cones)#6E5F760.120
Achromatopsia (no color)#6262620.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #794AB1

    #794AB1

    oklch(51.2% 0.159 302.1)

  • #5B7100

    #5B7100

    oklch(51.2% 0.124 122.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #794AB1

    #794AB1

    oklch(51.2% 0.159 302.1)

  • #495BC1

    #495BC1

    oklch(51.3% 0.16 272)

  • #983C8E

    #983C8E

    oklch(51.2% 0.159 332.1)

Open the analogous palette in the generator

Split complementary

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

  • #794AB1

    #794AB1

    oklch(51.2% 0.159 302.1)

  • #7C6400

    #7C6400

    oklch(51.2% 0.105 92.3)

  • #007C3E

    #007C3E

    oklch(51.4% 0.134 152.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #794AB1

    #794AB1

    oklch(51.2% 0.159 302.1)

  • #955400

    #955400

    oklch(51.1% 0.118 62)

  • #00786B

    #00786B

    oklch(51.4% 0.092 181.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #794AB1

    #794AB1

    oklch(51.2% 0.159 302.1)

  • #AF3823

    #AF3823

    oklch(51.2% 0.159 32.4)

  • #5B7100

    #5B7100

    oklch(51.2% 0.124 122.1)

  • #007485

    #007485

    oklch(51.3% 0.09 212.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #794AB1.

Similar named colors

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

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