#794AEB

Closest named color: Purpley (#8756E4). oklch(55.6% 0.228 290.4), rgb(121, 74, 235).

Aa

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

About this color

#794AEB is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.228 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.038 away. White text reads best on it, at 5.26:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.228)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text3.99:1
White text5.26:1

Values

HEX#794AEB
RGBrgb(121, 74, 235)
HSLhsl(258, 80%, 61%)
OKLCHoklch(55.6% 0.228 290.4)

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 #794AEB 5.26:1 AA Lc -80.8 Fine for body text
Black text on #794AEB 3.99:1 AA large text Lc 28.7 Dividers and decoration only
#794AEB text on white 5.26:1 AA Lc 75.4 Fine for body text
#794AEB text on black 3.99:1 AA large text Lc -26.3 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 600.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FD

    oklch(93.6% 0.03 290)

  3. Step 200

    200

    #D8D3FD

    oklch(88.4% 0.058 290.6)

  4. Step 300

    300

    #C0B5FE

    oklch(80.8% 0.102 290.8)

  5. Step 400

    400

    #A18BFE

    oklch(70.6% 0.164 290.3)

  6. Step 500

    500

    #8D69FC

    oklch(63.1% 0.209 290.4)

  7. Step 600

    600 (this color)

    #794AEB

    oklch(55.6% 0.228 290.4)

  8. Step 700

    700

    #6639CD

    oklch(49% 0.213 290.2)

  9. Step 800

    800

    #5331A5

    oklch(42.6% 0.175 290.4)

  10. Step 900

    900

    #442E83

    oklch(37.8% 0.136 290.3)

  11. Step 950

    950

    #271C4D

    oklch(27% 0.087 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#794AEB 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)#006FF00.124
Deuteranopia (no green cones)#0068E80.121
Tritanopia (no blue cones)#5373950.183
Achromatopsia (no color)#6C6C6C0.229

Harmonies

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

Complementary

The opposite hue (180°).

  • #794AEB

    #794AEB

    oklch(55.6% 0.228 290.4)

  • #787900

    #787900

    oklch(55.7% 0.122 110.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #794AEB

    #794AEB

    oklch(55.6% 0.228 290.4)

  • #0666F5

    #0666F5

    oklch(55.5% 0.228 260.5)

  • #AA2FC2

    #AA2FC2

    oklch(55.5% 0.228 320.4)

Open the analogous palette in the generator

Split complementary

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

  • #794AEB

    #794AEB

    oklch(55.6% 0.228 290.4)

  • #966A00

    #966A00

    oklch(55.5% 0.115 79.9)

  • #248B00

    #248B00

    oklch(55.7% 0.181 140.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #794AEB

    #794AEB

    oklch(55.6% 0.228 290.4)

  • #B45400

    #B45400

    oklch(55.7% 0.146 50.5)

  • #00876A

    #00876A

    oklch(55.5% 0.109 170.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #794AEB

    #794AEB

    oklch(55.6% 0.228 290.4)

  • #D70036

    #D70036

    oklch(55.6% 0.223 20.4)

  • #787900

    #787900

    oklch(55.7% 0.122 110.4)

  • #008389

    #008389

    oklch(55.5% 0.094 200.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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