#794CB6

Closest named color: Iris (#6258C4). oklch(51.9% 0.162 300.4), rgb(121, 76, 182).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.162)
Temperaturein between
Nearest nameIris (#6258C4)
Black text3.52:1
White text5.96:1

Values

HEX#794CB6
RGBrgb(121, 76, 182)
HSLhsl(265, 42%, 51%)
OKLCHoklch(51.9% 0.162 300.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 #794CB6 5.96:1 AA Lc -84.7 Fine for body text
Black text on #794CB6 3.52:1 AA large text Lc 24.6 Dividers and decoration only
#794CB6 text on white 5.96:1 AA Lc 79.4 Fine for body text
#794CB6 text on black 3.52:1 AA large text Lc -22.4 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

    #DDD3F2

    oklch(88.4% 0.043 300.2)

  4. Step 300

    300

    #C8B6EC

    oklch(81% 0.077 299.9)

  5. Step 400

    400

    #AD8DE3

    oklch(70.6% 0.127 300.3)

  6. Step 500

    500

    #9A6FDB

    oklch(63.2% 0.161 300.2)

  7. Step 600

    600

    #8554C8

    oklch(55.6% 0.174 300.3)

  8. Step 700

    700 (this color)

    #794CB6

    oklch(51.9% 0.162 300.4)

  9. Step 800

    800

    #5C388C

    oklch(42.7% 0.135 300.5)

  10. Step 900

    900

    #4B3270

    oklch(37.8% 0.104 300.1)

  11. Step 950

    950

    #2C1E42

    oklch(27.1% 0.066 300)

Export this scale for Tailwind in the Tailwind colors tool

#794CB6 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)#1863B90.122
Deuteranopia (no green cones)#2D63B40.111
Tritanopia (no blue cones)#6C627A0.123
Achromatopsia (no color)#6464640.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #794CB6

    #794CB6

    oklch(51.9% 0.162 300.4)

  • #5F7200

    #5F7200

    oklch(51.8% 0.124 120.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #794CB6

    #794CB6

    oklch(51.9% 0.162 300.4)

  • #475DC5

    #475DC5

    oklch(51.9% 0.163 270.7)

  • #9A3D93

    #9A3D93

    oklch(51.8% 0.163 330.7)

Open the analogous palette in the generator

Split complementary

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

  • #794CB6

    #794CB6

    oklch(51.9% 0.162 300.4)

  • #806500

    #806500

    oklch(51.9% 0.106 90.3)

  • #007E39

    #007E39

    oklch(51.9% 0.142 150.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #794CB6

    #794CB6

    oklch(51.9% 0.162 300.4)

  • #9A5500

    #9A5500

    oklch(52% 0.121 60.4)

  • #007A6B

    #007A6B

    oklch(51.9% 0.094 180.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #794CB6

    #794CB6

    oklch(51.9% 0.162 300.4)

  • #B33728

    #B33728

    oklch(51.8% 0.163 30.3)

  • #5F7200

    #5F7200

    oklch(51.8% 0.124 120.5)

  • #007685

    #007685

    oklch(51.8% 0.09 210.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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