#791A7F

Closest named color: Purple (#800080). oklch(42.2% 0.173 325.4), rgb(121, 26, 127).

Aa

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

About this color

#791A7F is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.173 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.023 away. White text reads best on it, at 9.26:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.173)
Temperaturein between
Nearest namePurple (#800080)
Black text2.26:1
White text9.26:1

Values

HEX#791A7F
RGBrgb(121, 26, 127)
HSLhsl(296, 66%, 30%)
OKLCHoklch(42.2% 0.173 325.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 #791A7F 9.26:1 AAA Lc -94.6 Preferred for body text
Black text on #791A7F 2.26:1 Fails Lc 13.8 Not readable
#791A7F text on white 9.26:1 AAA Lc 90.1 Preferred for body text
#791A7F text on black 2.26:1 Fails Lc -12.1 Not readable

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 800.

  1. Step 50

    50

    #FAF2FA

    oklch(97% 0.014 325.7)

  2. Step 100

    100

    #F4E4F5

    oklch(93.7% 0.028 324)

  3. Step 200

    200

    #EDCDEE

    oklch(88.5% 0.056 325.1)

  4. Step 300

    300

    #E2AAE4

    oklch(80.8% 0.1 325.3)

  5. Step 400

    400

    #D27AD7

    oklch(70.7% 0.161 325.2)

  6. Step 500

    500

    #C551CC

    oklch(63.1% 0.207 325.4)

  7. Step 600

    600

    #B02DB8

    oklch(55.6% 0.224 325.5)

  8. Step 700

    700

    #971D9F

    oklch(49.1% 0.208 325.3)

  9. Step 800

    800 (this color)

    #791A7F

    oklch(42.2% 0.173 325.4)

  10. Step 900

    900

    #631F67

    oklch(37.6% 0.135 325.5)

  11. Step 950

    950

    #3A143D

    oklch(27% 0.086 324.7)

Export this scale for Tailwind in the Tailwind colors tool

#791A7F 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)#0040820.181
Deuteranopia (no green cones)#314B7D0.154
Tritanopia (no blue cones)#7C2D4C0.100
Achromatopsia (no color)#4747470.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #791A7F

    #791A7F

    oklch(42.2% 0.173 325.4)

  • #005F17

    #005F17

    oklch(42.2% 0.132 145.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #791A7F

    #791A7F

    oklch(42.2% 0.173 325.4)

  • #582D9F

    #582D9F

    oklch(42.1% 0.173 295.2)

  • #8E0051

    #8E0051

    oklch(42.2% 0.173 355.7)

Open the analogous palette in the generator

Split complementary

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

  • #791A7F

    #791A7F

    oklch(42.2% 0.173 325.4)

  • #4C5300

    #4C5300

    oklch(42.1% 0.096 115.2)

  • #005B4B

    #005B4B

    oklch(42.1% 0.079 175.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #791A7F

    #791A7F

    oklch(42.2% 0.173 325.4)

  • #634900

    #634900

    oklch(42.2% 0.086 85.1)

  • #005860

    #005860

    oklch(42% 0.072 205.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #791A7F

    #791A7F

    oklch(42.2% 0.173 325.4)

  • #773B00

    #773B00

    oklch(42.2% 0.104 55.4)

  • #005F17

    #005F17

    oklch(42.2% 0.132 145.3)

  • #005477

    #005477

    oklch(42.1% 0.09 235.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #791A7F 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.