#794CB7

Closest named color: Iris (#6258C4). oklch(52% 0.164 300.2), rgb(121, 76, 183).

Aa

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

About this color

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

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

Values

HEX#794CB7
RGBrgb(121, 76, 183)
HSLhsl(265, 43%, 51%)
OKLCHoklch(52% 0.164 300.2)

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 #794CB7 5.94:1 AA Lc -84.6 Fine for body text
Black text on #794CB7 3.53:1 AA large text Lc 24.7 Dividers and decoration only
#794CB7 text on white 5.94:1 AA Lc 79.4 Fine for body text
#794CB7 text on black 3.53: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

    #DDD3F3

    oklch(88.5% 0.045 299.7)

  4. Step 300

    300

    #C8B5ED

    oklch(80.8% 0.08 300.1)

  5. Step 400

    400

    #AD8DE3

    oklch(70.6% 0.127 300.3)

  6. Step 500

    500

    #9A6EDB

    oklch(63% 0.162 300.5)

  7. Step 600

    600

    #8554C9

    oklch(55.7% 0.176 300)

  8. Step 700

    700 (this color)

    #794CB7

    oklch(52% 0.164 300.2)

  9. Step 800

    800

    #5C388D

    oklch(42.7% 0.136 300.2)

  10. Step 900

    900

    #4B3170

    oklch(37.6% 0.106 300.4)

  11. Step 950

    950

    #2C1E42

    oklch(27.1% 0.066 300)

Export this scale for Tailwind in the Tailwind colors tool

#794CB7 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)#1663BA0.122
Deuteranopia (no green cones)#2B63B50.112
Tritanopia (no blue cones)#6C627A0.125
Achromatopsia (no color)#6464640.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #794CB7

    #794CB7

    oklch(52% 0.164 300.2)

  • #607200

    #607200

    oklch(51.9% 0.123 120)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #794CB7

    #794CB7

    oklch(52% 0.164 300.2)

  • #465EC5

    #465EC5

    oklch(52% 0.162 270)

  • #9A3D94

    #9A3D94

    oklch(51.9% 0.163 330.2)

Open the analogous palette in the generator

Split complementary

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

  • #794CB7

    #794CB7

    oklch(52% 0.164 300.2)

  • #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.

  • #794CB7

    #794CB7

    oklch(52% 0.164 300.2)

  • #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.

  • #794CB7

    #794CB7

    oklch(52% 0.164 300.2)

  • #B43728

    #B43728

    oklch(52% 0.164 30.3)

  • #607200

    #607200

    oklch(51.9% 0.123 120)

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

Similar named colors

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

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