#792FA9

Closest named color: Rebecca Purple (#663399). oklch(47.1% 0.188 308.5), rgb(121, 47, 169).

Aa

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

About this color

#792FA9 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.188 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.044 away. White text reads best on it, at 7.52:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.188)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.79:1
White text7.52:1

Values

HEX#792FA9
RGBrgb(121, 47, 169)
HSLhsl(276, 56%, 42%)
OKLCHoklch(47.1% 0.188 308.5)

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 #792FA9 7.52:1 AAA Lc -90.2 Preferred for body text
Black text on #792FA9 2.79:1 Fails Lc 18.7 Dividers and decoration only
#792FA9 text on white 7.52:1 AAA Lc 85.3 Fine for body text
#792FA9 text on black 2.79:1 Fails Lc -16.7 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F8

    oklch(93.5% 0.027 309.2)

  3. Step 200

    200

    #E3D1F3

    oklch(88.6% 0.05 309.1)

  4. Step 300

    300

    #D1B1EE

    oklch(80.9% 0.091 308.3)

  5. Step 400

    400

    #BA86E5

    oklch(70.7% 0.144 308.3)

  6. Step 500

    500

    #A963DD

    oklch(63% 0.185 308.5)

  7. Step 600

    600

    #9546CB

    oklch(55.7% 0.201 308.5)

  8. Step 700

    700 (this color)

    #792FA9

    oklch(47.1% 0.188 308.5)

  9. Step 800

    800

    #672E8E

    oklch(42.7% 0.155 308.5)

  10. Step 900

    900

    #542B72

    oklch(37.8% 0.121 308.3)

  11. Step 950

    950

    #311A43

    oklch(27.1% 0.077 308)

Export this scale for Tailwind in the Tailwind colors tool

#792FA9 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)#0052AD0.154
Deuteranopia (no green cones)#0E55A60.153
Tritanopia (no blue cones)#724B690.130
Achromatopsia (no color)#5454540.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #792FA9

    #792FA9

    oklch(47.1% 0.188 308.5)

  • #466700

    #466700

    oklch(47% 0.123 128.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #792FA9

    #792FA9

    oklch(47.1% 0.188 308.5)

  • #4A44C0

    #4A44C0

    oklch(47.1% 0.187 278.5)

  • #98197E

    #98197E

    oklch(47.1% 0.189 338.4)

Open the analogous palette in the generator

Split complementary

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

  • #792FA9

    #792FA9

    oklch(47.1% 0.188 308.5)

  • #695B00

    #695B00

    oklch(47% 0.097 98.8)

  • #006D43

    #006D43

    oklch(47.1% 0.11 158.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #792FA9

    #792FA9

    oklch(47.1% 0.188 308.5)

  • #804E00

    #804E00

    oklch(47.1% 0.103 68.2)

  • #006964

    #006964

    oklch(47% 0.081 189.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #792FA9

    #792FA9

    oklch(47.1% 0.188 308.5)

  • #9E3000

    #9E3000

    oklch(47.1% 0.153 38.3)

  • #466700

    #466700

    oklch(47% 0.123 128.2)

  • #00667B

    #00667B

    oklch(47.1% 0.085 218.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #792FA9 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.